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

From: Arnaldo Carvalho de Melo
Date: Thu Jan 29 2015 - 15:23:50 EST


Hi Ingo,

Please consider pulling, there is some more stuff in queue to be
processed, but better send in smaller batches,

- Arnaldo

The following changes since commit b3890e4704594fa23abe1395d1fafc97d3214be8:

Merge branch 'perf/hw_breakpoints' into perf/core (2015-01-28 15:48:59 +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 c52686f9f888d23ca72f1309e86af8e91d075697:

perf symbols: Convert lseek + read to pread (2015-01-29 17:02:01 -0300)

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

User visible:

- Show precise number of samples in at the end of a 'record' session, if
processing build ids, since we will then traverse the whole perf.data file
and see all the PERF_RECORD_SAMPLE records, otherwise stop showing the
previous off-base heuristicly counted number of "samples" (Namhyung Kim).

- Support to read compressed module from build-id cache (Namhyung Kim)

Infrastructure:

- Cache eh/debug frame offset for dwarf unwind (Namhyung Kim)

- Set header version correctly in all cases (Namhyung Kim)

- Set attr.task bit for a tracking event, to be consistent (Namhyung Kim)
perf tools: Use perf_data_file__fd() consistently
perf symbols: Convert lseek + read to pread

- Don't rely on malloc working for sz 0, fixing another problem when
using uClibc (Vineet Gupta)

- Provide stub for missing pthread_attr_setaffinity_np for libcs where this
is not available, such as uClibc (Vineet Gupta)

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

----------------------------------------------------------------
Namhyung Kim (8):
perf callchain: Cache eh/debug frame offset for dwarf unwind
perf tools: Do not use __perf_session__process_events() directly
perf record: Show precise number of samples
perf header: Set header version correctly
perf evsel: Set attr.task bit for a tracking event
perf symbols: Support to read compressed module from build-id cache
perf tools: Use perf_data_file__fd() consistently
perf symbols: Convert lseek + read to pread

Vineet Gupta (2):
perf evsel: Don't rely on malloc working for sz 0
perf tools: Provide stub for missing pthread_attr_setaffinity_np

tools/perf/bench/futex.h | 13 ++++
tools/perf/builtin-inject.c | 5 +-
tools/perf/builtin-record.c | 70 +++++++++++++++-------
tools/perf/config/Makefile | 6 ++
tools/perf/config/feature-checks/Makefile | 4 ++
tools/perf/config/feature-checks/test-all.c | 5 ++
.../test-pthread-attr-setaffinity-np.c | 14 +++++
tools/perf/util/dso.c | 6 +-
tools/perf/util/dso.h | 1 +
tools/perf/util/evsel.c | 4 ++
tools/perf/util/header.c | 2 +-
tools/perf/util/session.c | 6 +-
tools/perf/util/session.h | 3 -
tools/perf/util/symbol-elf.c | 13 ++--
tools/perf/util/unwind-libunwind.c | 31 ++++++----
15 files changed, 131 insertions(+), 52 deletions(-)
create mode 100644 tools/perf/config/feature-checks/test-pthread-attr-setaffinity-np.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/