[GIT PULL 0/5] perf/urgent fixes

From: Arnaldo Carvalho de Melo
Date: Thu Apr 05 2012 - 19:29:12 EST


Hi Ingo,

Please consider pulling,

- Arnaldo

The following changes since commit 7b78f13603c6fcb64e020a0bbe31a651ea2b657b:

perf tools: Fix getrusage() related build failure on glibc trunk (2012-04-04 11:59:00 +0200)

are available in the git repository at:

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

for you to fetch changes up to 31d68e7b66f168e623902e194af1e52b8cf75d71:

perf annotate: Validate addr in symbol__inc_addr_samples (2012-04-05 19:51:14 -0300)

----------------------------------------------------------------
Fixes for perf/urgent

. Fix annotation histograms decay: We were decaying just the entries on the
objdump lines, i.e. the first byte of an instruction, leading to percentage
errors when samples happened in the other bytes of instructions. Affects
only live annotation.

. Use most recent map for an histogram, avoiding underflow problems in
annotation histograms. Fix from David Miller

. Add validation in 'perf top' for the underflow problems mentioned in the
previous fix. Present information to the user when such thing happens and
ask for reporting to lkml.

. Fix the hists browser when there are multiple events in a perf.data file but
one of them has no samples. Fix from Jiri Olsa

. Add intel_idle to the list of idle routines to skip in perf top.

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

----------------------------------------------------------------
Arnaldo Carvalho de Melo (3):
perf top: Add intel_idle to the skip list
perf annotate: Fix hist decay
perf annotate: Validate addr in symbol__inc_addr_samples

David Miller (1):
perf hists: Catch and handle out-of-date hist entry maps.

Jiri Olsa (1):
perf hists browser: Fix NULL deref in hists browsing code

tools/perf/builtin-top.c | 36 ++++++++++++++++++++++++++++++++++-
tools/perf/util/annotate.c | 16 ++++++----------
tools/perf/util/hist.c | 12 ++++++++++++
tools/perf/util/map.c | 1 +
tools/perf/util/map.h | 1 +
tools/perf/util/ui/browsers/hists.c | 3 +++
6 files changed, 58 insertions(+), 11 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/