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

From: Arnaldo Carvalho de Melo
Date: Tue May 26 2015 - 12:49:11 EST


Hi Ingo,

Test built on Fedora21 x86_64, RHEL (5.11 with NO_AUXTRACE=1
NO_LIBPERL=1 NO_LIBNUMA=1, 6.6 and 7.1) all x86_64.

Please consider applying,

- Arnaldo

The following changes since commit d499c106843afa0703a68c64662bf42a16421aec:

Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2015-05-20 13:23:55 +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 264ed8843fe2e4c24422ff61de1e3db609106445:

perf tools: Put itrace options into an asciidoc include (2015-05-26 13:21:08 -0300)

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

New features:

- Intel PT support, should be complete now and possible to test it with what we
already have in the kernel, go, test it and report problems on lkml, I'm sure
Adrian will chime in if something doesn't work as documented. (Adrian Hunter)

- Add option in 'perf sched' to merge like comms to lat output (Josef Bacik)

Infrastructure:

- Use atomic.h for various pre-existing reference counts (Arnaldo Carvalho de Melo)

- Leg work for refcounting 'struct map' (Arnaldo Carvalho de Melo)

- Assign default value for some pointers (Martin LiÅka)

- Improve setting of gcc debug option (Martin LiÅka)

- Separate the tests and tools in installation (Nam T. Nguyen)

- Reduce number of arguments of hist_entry_iter__add() (Namhyung Kim)

- DSO data cache fixes (Namhyung Kim)

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

----------------------------------------------------------------
Adrian Hunter (19):
perf tools: Fix function declarations needed by parse-events.y
perf tools: Fix parse_events_error dereferences
perf build: Fix libunwind feature detection on 32-bit x86
perf session: Fix perf_session__peek_event()
perf tools: Disallow PMU events intel_pt and intel_bts until there is support
perf auxtrace: Add Intel PT as an AUX area tracing type
perf tools: Add Intel PT packet decoder
perf tools: Add Intel PT instruction decoder
perf tools: Add Intel PT log
perf tools: Add Intel PT decoder
perf tools: Add Intel PT support
perf tools: Take Intel PT into use
perf tools: Allow auxtrace data alignment
perf tools: Add Intel BTS support
perf tools: Output sample flags and insn_len from intel_pt
perf tools: Output sample flags and insn_len from intel_bts
perf tools: Intel PT to always update thread stack trace number
perf tools: Intel BTS to always update thread stack trace number
perf tools: Put itrace options into an asciidoc include

Arnaldo Carvalho de Melo (10):
perf hists: Rename add_hist_entry to hists__findnew_entry
perf comm: Use atomic.h for refcounting
perf machine: Do not call map_groups__delete(), drop refcnt instead
perf tools: Rename maps__next
perf tools: Remove redundant initialization of thread linkage members
perf tools: Nuke unused map_groups__flush()
perf tools: Import rb_erase_init from block/ in the kernel sources
perf machine: Mark removed threads as such
perf tools: Leave DSO destruction to the map destruction
perf tools: Use maps__first()/map__next()

Josef Bacik (1):
perf sched: Add option to merge like comms to lat output

Martin Liska (1):
perf tools: Improve setting of gcc debug option

Martin LiÅka (1):
perf tools: Assign default value for some pointers

Nam T. Nguyen (1):
perf tools: Separate the tests and tools in installation

Namhyung Kim (4):
perf hists: Reducing arguments of hist_entry_iter__add()
perf tools: Fix dso__data_read_offset() file opening
perf tools: Get rid of dso__data_fd() from dso__data_size()
perf tools: Add dso__data_get/put_fd()

tools/build/Makefile.build | 2 +
tools/perf/.gitignore | 2 +
tools/perf/Documentation/intel-bts.txt | 69 +
tools/perf/Documentation/intel-pt.txt | 467 +++++
tools/perf/Documentation/itrace.txt | 22 +
tools/perf/Documentation/perf-inject.txt | 23 +-
tools/perf/Documentation/perf-report.txt | 23 +-
tools/perf/Documentation/perf-script.txt | 23 +-
tools/perf/Makefile.perf | 18 +-
tools/perf/arch/common.c | 2 +-
tools/perf/arch/x86/util/Build | 5 +
tools/perf/arch/x86/util/auxtrace.c | 83 +
tools/perf/arch/x86/util/intel-bts.c | 458 +++++
tools/perf/arch/x86/util/intel-pt.c | 752 ++++++++
tools/perf/arch/x86/util/pmu.c | 18 +
tools/perf/builtin-report.c | 9 +-
tools/perf/builtin-sched.c | 77 +-
tools/perf/builtin-top.c | 7 +-
tools/perf/config/Makefile | 4 +-
tools/perf/config/utilities.mak | 19 +
tools/perf/tests/dso-data.c | 11 +
tools/perf/tests/hists_cumulate.c | 6 +-
tools/perf/tests/hists_filter.c | 4 +-
tools/perf/tests/hists_output.c | 6 +-
tools/perf/tests/vmlinux-kallsyms.c | 34 +-
tools/perf/util/Build | 3 +
tools/perf/util/auxtrace.c | 16 +-
tools/perf/util/auxtrace.h | 3 +
tools/perf/util/comm.c | 13 +-
tools/perf/util/dso.c | 88 +-
tools/perf/util/dso.h | 13 +-
tools/perf/util/event.c | 7 +-
tools/perf/util/hist.c | 24 +-
tools/perf/util/hist.h | 1 -
tools/perf/util/include/linux/rbtree.h | 14 +
tools/perf/util/intel-bts.c | 921 ++++++++++
tools/perf/util/intel-bts.h | 43 +
tools/perf/util/intel-pt-decoder/Build | 14 +
.../perf/util/intel-pt-decoder/intel-pt-decoder.c | 1758 ++++++++++++++++++
.../perf/util/intel-pt-decoder/intel-pt-decoder.h | 102 ++
.../util/intel-pt-decoder/intel-pt-insn-decoder.c | 246 +++
.../util/intel-pt-decoder/intel-pt-insn-decoder.h | 65 +
tools/perf/util/intel-pt-decoder/intel-pt-log.c | 155 ++
tools/perf/util/intel-pt-decoder/intel-pt-log.h | 52 +
.../util/intel-pt-decoder/intel-pt-pkt-decoder.c | 400 +++++
.../util/intel-pt-decoder/intel-pt-pkt-decoder.h | 64 +
tools/perf/util/intel-pt.c | 1895 ++++++++++++++++++++
tools/perf/util/intel-pt.h | 51 +
tools/perf/util/machine.c | 6 +-
tools/perf/util/map.c | 31 +-
tools/perf/util/map.h | 6 +-
tools/perf/util/parse-events.c | 18 +-
tools/perf/util/parse-events.h | 6 +
tools/perf/util/parse-events.y | 6 +-
tools/perf/util/probe-event.c | 9 +-
tools/perf/util/session.c | 6 +-
tools/perf/util/symbol.c | 25 +-
tools/perf/util/thread.c | 2 -
tools/perf/util/trace-event-parse.c | 2 +-
tools/perf/util/unwind-libunwind.c | 11 +-
60 files changed, 7977 insertions(+), 243 deletions(-)
create mode 100644 tools/perf/Documentation/intel-bts.txt
create mode 100644 tools/perf/Documentation/intel-pt.txt
create mode 100644 tools/perf/Documentation/itrace.txt
create mode 100644 tools/perf/arch/x86/util/auxtrace.c
create mode 100644 tools/perf/arch/x86/util/intel-bts.c
create mode 100644 tools/perf/arch/x86/util/intel-pt.c
create mode 100644 tools/perf/arch/x86/util/pmu.c
create mode 100644 tools/perf/util/intel-bts.c
create mode 100644 tools/perf/util/intel-bts.h
create mode 100644 tools/perf/util/intel-pt-decoder/Build
create mode 100644 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c
create mode 100644 tools/perf/util/intel-pt-decoder/intel-pt-decoder.h
create mode 100644 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c
create mode 100644 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.h
create mode 100644 tools/perf/util/intel-pt-decoder/intel-pt-log.c
create mode 100644 tools/perf/util/intel-pt-decoder/intel-pt-log.h
create mode 100644 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c
create mode 100644 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.h
create mode 100644 tools/perf/util/intel-pt.c
create mode 100644 tools/perf/util/intel-pt.h
--
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/