[GIT PULL 00/31] perf/core improvements and fixes

From: Arnaldo Carvalho de Melo
Date: Fri Sep 04 2015 - 12:47:16 EST


Hi Ingo,

Please consider pulling,

- Arnaldo

The following changes since commit 5b923564ccf43f92969c9e0fd199c8c5db657039:

Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent (2015-09-02 09:22:53 +0200)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo

for you to fetch changes up to cf2f33a4e54096f90652cca3511fd6a456ea5abe:

perf trace: Add read/write to the file group (2015-09-04 13:22:06 -0300)

----------------------------------------------------------------
perf/core improvements and fixes:

User visible:

- Use PERF_RECORD_SWITCH when available in intel-pt, instead of
"sched:sched_switch" events, enabling an unprivileged user to trace
multi-threaded or multi-process workloads (Adrian Hunter)

- Always use non inlined file name for 'srcfile' sort key (Andi Kleen)

- Quieten failed to read counter message, helps in systems without
backend-stalled-cycles (Andi Kleen)

Infrastructure:

- Add a 'perf test' entry for decoding of new x86 instructions (Adrian Hunter)

- Add new instructions (sha, clflushopt, clwb, pcommit, rdpkru, wrpkru, xsavec,
xsaves, xrstors) to the x86 instruction decoder (Adrian Hunter)

- Add a build test to warn when source code drifts happen for the
instruction decoder files in the kernel and in tools/perf (Adrian Hunter)

- Copy linux/filter.h to tools/include (He Kuang)

- Support function __get_dynamic_array_len in libtraceevent (He Kuanguuu)

- Tracing path finding/mounting/error reporting refactorings (Jiri Olsa)

- Store CPU socket and core IDs in perf.data (Kan Liang)

- Reorganize add/del probe insertion routines in 'perf probe' (Namhyung Kim, Wang Nan)

Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

----------------------------------------------------------------
Adrian Hunter (8):
perf tools: Display build warning if x86 instruction decoder differs from kernel
perf tools: Add a test for decoding of new x86 instructions
x86/insn: perf tools: Pedantically tweak opcode map for MPX instructions
x86/insn: perf tools: Add new SHA instructions
x86/insn: perf tools: Add new memory instructions
x86/insn: perf tools: Add new memory protection keys instructions
x86/insn: perf tools: Add new xsave instructions
perf intel-pt: Add support for PERF_RECORD_SWITCH

Andi Kleen (2):
perf tools: Always use non inlined file name for 'srcfile' sort key
perf stat: Quieten failed to read counter message

Arnaldo Carvalho de Melo (1):
perf trace: Add read/write to the file group

He Kuang (2):
perf tools: Copy linux/filter.h to tools/include
tools lib traceevent: Support function __get_dynamic_array_len

Jiri Olsa (10):
perf tools: Remove mountpoint arg from perf_debugfs_mount
perf tools: Move tracing_path stuff under same namespace
tools lib api fs: Move tracing_path interface into api/fs/tracing_path.c
tools lib api fs: Move debugfs__strerror_open into tracing_path.c object
tools lib api fs: Add STR and PATH_MAX macros to fs object
tools lib api fs: Move SYSFS_MAGIC PROC_SUPER_MAGIC into fs.c
tools lib api fs: Add debugfs into fs.c object
tools lib api fs: Add tracefs into fs.c object
tools lib api fs: Add FSTYPE__mount() method
tools lib api fs: Add FSTYPE__configured() method

Kan Liang (3):
perf cpumap: Factor out functions to get core_id and socket_id
perf tools: Store the cpu socket and core ids in the perf.data header
perf session: Don't call dump_sample() when evsel is NULL

Namhyung Kim (4):
perf probe: Split add_perf_probe_events()
perf probe: Move print logic into cmd_probe()
perf probe: Split del_perf_probe_events()
perf probe: Print deleted events in cmd_probe()

Wang Nan (1):
perf probe: Link trace_probe_event into perf_probe_event

arch/x86/lib/x86-opcode-map.txt | 24 +-
tools/include/linux/filter.h | 231 ++++++
tools/lib/api/fs/Build | 1 +
tools/lib/api/fs/debugfs.c | 52 --
tools/lib/api/fs/fs.c | 117 ++-
tools/lib/api/fs/fs.h | 26 +-
tools/lib/api/fs/tracing_path.c | 137 ++++
tools/lib/api/fs/tracing_path.h | 16 +
tools/lib/traceevent/event-parse.c | 56 +-
tools/lib/traceevent/event-parse.h | 1 +
tools/perf/MANIFEST | 1 +
tools/perf/arch/x86/util/intel-pt.c | 55 +-
tools/perf/builtin-probe.c | 110 ++-
tools/perf/builtin-stat.c | 2 +-
tools/perf/builtin-trace.c | 5 +-
tools/perf/perf.c | 12 +-
tools/perf/tests/Build | 3 +
tools/perf/tests/builtin-test.c | 8 +
tools/perf/tests/gen-insn-x86-dat.awk | 75 ++
tools/perf/tests/gen-insn-x86-dat.sh | 43 +
tools/perf/tests/insn-x86-dat-32.c | 658 ++++++++++++++++
tools/perf/tests/insn-x86-dat-64.c | 768 ++++++++++++++++++
tools/perf/tests/insn-x86-dat-src.c | 877 +++++++++++++++++++++
tools/perf/tests/insn-x86.c | 184 +++++
tools/perf/tests/tests.h | 1 +
tools/perf/trace/strace/groups/file | 2 +
tools/perf/util/cpumap.c | 51 +-
tools/perf/util/cpumap.h | 2 +
tools/perf/util/header.c | 94 ++-
tools/perf/util/header.h | 6 +
tools/perf/util/intel-pt-decoder/Build | 13 +-
.../perf/util/intel-pt-decoder/x86-opcode-map.txt | 24 +-
tools/perf/util/intel-pt.c | 129 ++-
tools/perf/util/parse-events.c | 2 +-
tools/perf/util/probe-event.c | 97 +--
tools/perf/util/probe-event.h | 9 +
tools/perf/util/probe-file.c | 41 +-
tools/perf/util/probe-file.h | 4 +
.../perf/util/scripting-engines/trace-event-perl.c | 1 +
.../util/scripting-engines/trace-event-python.c | 1 +
tools/perf/util/session.c | 3 +-
tools/perf/util/sort.c | 4 +-
tools/perf/util/srcline.c | 29 +-
tools/perf/util/trace-event-info.c | 2 +-
tools/perf/util/trace-event.c | 1 +
tools/perf/util/util.c | 70 --
tools/perf/util/util.h | 8 +-
47 files changed, 3762 insertions(+), 294 deletions(-)
create mode 100644 tools/include/linux/filter.h
create mode 100644 tools/lib/api/fs/tracing_path.c
create mode 100644 tools/lib/api/fs/tracing_path.h
create mode 100644 tools/perf/tests/gen-insn-x86-dat.awk
create mode 100755 tools/perf/tests/gen-insn-x86-dat.sh
create mode 100644 tools/perf/tests/insn-x86-dat-32.c
create mode 100644 tools/perf/tests/insn-x86-dat-64.c
create mode 100644 tools/perf/tests/insn-x86-dat-src.c
create mode 100644 tools/perf/tests/insn-x86.c
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/