[GIT PULL 00/21] perf/record improvements and fixes

Arnaldo Carvalho de Melo
2015-02-25T21:47:13Z

Hi Ingo,

Please consider pulling,

- Arnaldo

The following changes since commit 8a26ce4e544659256349551283414df504889a59:

Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2015-02-18 19:18:18 +0100)

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 54cf776a9c5c2e6a91de31954bba4d3bad6c657c:

perf data: Add a 'perf' prefix to the generic fields (2015-02-25 16:14:33 -0300)

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

New user selectable features:

- Support recording running/enabled time in 'perf record' (Andi Kleen)

- New tool: 'perf data' for converting perf.data to other formats,
initially for the CTF (Common Trace Format) from LTTng (Jiri Olsa, Sebastian Siewior)

User visible:

- Only insert blank duration bracket when tracing syscalls in 'perf trace' (Arnaldo Carvalho de Melo)

- Filter out the trace pid when no threads are specified in 'perf trace' (Arnaldo Carvalho de Melo)

- Add 'perf trace' man page entry for --event (Arnaldo Carvalho de Melo)

- Dump stack on segfaults in 'perf trace' (Arnaldo Carvalho de Melo)

Infrastructure:

- Introduce set_filter_pid and set_filter_pids methods in the evlist class (Arnaldo Carvalho de Melo)

- Some perf_session untanglement patches, removing the need to pass a
perf_session instance for things that are related to evlists, so that
tools that don't deal with perf.data files like trace in live mode can
make use of the ordered_events class (Arnaldo Carvalho de Melo)

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

----------------------------------------------------------------
Andi Kleen (1):
perf record: Support recording running/enabled time

Arnaldo Carvalho de Melo (16):
perf trace: Only insert blank duration bracket when tracing syscalls
perf evlist: Introduce set_filter_pid method
perf trace: Filter out the trace pid when no threads are specified
perf evlist: Introduce set_filter_pids method
perf trace: Introduce --filter-pids
perf trace: Add man page entry for --event
perf trace: Separate routine that handles an event from the one that reads it
perf session: Remove wrappers to machines__find
perf evlist: Adopt events_stats from perf_session
perf session: Remove perf_session from warn_errors signature
perf session: Remove perf_session from some deliver event routines
perf session: Remove perf_session from dump_event
perf ordered_events: Stop using tool->ordered_events
perf tools: Introduce dump_stack signal helper
perf trace: Dump stack on segfaults
perf tools: Print the thread's tid on PERF_RECORD_COMM events when -D is asked

Jiri Olsa (3):
perf tools: Add feature check for libbabeltrace
perf tools: Add new 'perf data' command
perf data: Add perf data to CTF conversion support

Sebastian Andrzej Siewior (1):
perf data: Add a 'perf' prefix to the generic fields

tools/perf/Build | 1 +
tools/perf/Documentation/perf-data.txt | 40 ++
tools/perf/Documentation/perf-record.txt | 3 +
tools/perf/Documentation/perf-trace.txt | 6 +
tools/perf/Documentation/perf.txt | 7 +-
tools/perf/Makefile.perf | 4 +-
tools/perf/builtin-data.c | 119 ++++
tools/perf/builtin-record.c | 2 +
tools/perf/builtin-sched.c | 6 +-
tools/perf/builtin-top.c | 4 +-
tools/perf/builtin-trace.c | 121 +++-
tools/perf/builtin.h | 1 +
tools/perf/command-list.txt | 1 +
tools/perf/config/Makefile | 25 +
tools/perf/config/feature-checks/Makefile | 8 +-
tools/perf/config/feature-checks/test-all.c | 5 +
.../config/feature-checks/test-libbabeltrace.c | 8 +
tools/perf/perf.c | 1 +
tools/perf/perf.h | 1 +
tools/perf/util/Build | 2 +
tools/perf/util/data-convert-bt.c | 614 +++++++++++++++++++++
tools/perf/util/data-convert-bt.h | 8 +
tools/perf/util/debug.c | 2 +
tools/perf/util/debug.h | 1 +
tools/perf/util/event.c | 2 +-
tools/perf/util/evlist.c | 32 ++
tools/perf/util/evlist.h | 3 +
tools/perf/util/evsel.c | 6 +
tools/perf/util/ordered-events.c | 5 +-
tools/perf/util/session.c | 115 ++--
tools/perf/util/session.h | 1 -
tools/perf/util/util.c | 7 +
tools/perf/util/util.h | 1 +
33 files changed, 1063 insertions(+), 99 deletions(-)
create mode 100644 tools/perf/Documentation/perf-data.txt
create mode 100644 tools/perf/builtin-data.c
create mode 100644 tools/perf/config/feature-checks/test-libbabeltrace.c
create mode 100644 tools/perf/util/data-convert-bt.c
create mode 100644 tools/perf/util/data-convert-bt.h