[GIT PULL 0/4] perf/core improvements

From: Arnaldo Carvalho de Melo
Date: Thu Dec 02 2010 - 14:40:12 EST


Hi Ingo,

Please consider pulling after at least Ian and Peter acks it:

git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux-2.6 perf/core

Peter already acked a previous version of this, so I left his acked by
there, this new one is much simpler than the first one he acked, so I think
he'll be happy with this one as well, Peter?

I tested it using the perf tools built from what is in tip/perf/urgent
and it works as expected, i.e. the new fields are just discarded since they are
stashed as a trailer in the MMAP, FORK, etc events, so old tools process new
perf.data files just fine.

Also the new tools works on older kernels, also tested.

Ian, if you prefer, please test it before Ingo merges it.

Regards,

- Arnaldo

Arnaldo Carvalho de Melo (4):
perf events: Separate the routines handling the PERF_SAMPLE_ identity fields
perf events: Make sample_type identity fields available in all PERF_RECORD_ events
perf session: Parse sample earlier
perf tools: Ask for ID PERF_SAMPLE_ info on all PERF_RECORD_ events

include/linux/perf_event.h | 13 +-
kernel/perf_event.c | 207 +++++++++++++------
tools/perf/Documentation/perf-record.txt | 5 +
tools/perf/builtin-annotate.c | 6 +-
tools/perf/builtin-diff.c | 11 +-
tools/perf/builtin-inject.c | 39 ++--
tools/perf/builtin-kmem.c | 21 +--
tools/perf/builtin-lock.c | 12 +-
tools/perf/builtin-record.c | 23 ++
tools/perf/builtin-report.c | 15 +-
tools/perf/builtin-sched.c | 21 +--
tools/perf/builtin-script.c | 34 +--
tools/perf/builtin-timechart.c | 40 ++--
tools/perf/builtin-top.c | 12 +-
tools/perf/util/build-id.c | 7 +-
tools/perf/util/event.c | 341 +++++++++++++++++++----------
tools/perf/util/event.h | 27 ++-
tools/perf/util/header.c | 29 ++-
tools/perf/util/header.h | 1 +
tools/perf/util/hist.h | 2 +
tools/perf/util/session.c | 159 ++++++++++++---
tools/perf/util/session.h | 12 +-
22 files changed, 696 insertions(+), 341 deletions(-)

--
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/