linux/tools/perf
Namhyung Kim 09600e0f9e perf tools: Compare dso's also when comparing symbols
Linus reported that sometimes 'perf report -s symbol' exits without any
message on TUI.  David and Jiri found that it's because it failed to add
a hist entry due to an invalid symbol length.

It turns out that sorting by symbol (address) was broken since it only
compares symbol addresses.  The symbol address is a relative address
within a dso thus just checking its address can result in merging
unrelated symbols together.  Fix it by checking dso before comparing
symbol address.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1381802517-18812-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-10-21 17:33:23 -03:00
..
Documentation perf trace: Use vfs_getname hook if available 2013-10-16 11:18:24 -03:00
arch tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORT 2013-10-09 08:48:28 +02:00
bench perf tools: Fix bench/numa.c for 32-bit build 2013-10-21 11:19:42 -03:00
config perf tools: Fix test_on_exit for 32-bit build 2013-10-21 11:19:42 -03:00
python
scripts
tests perf tests: Fix memory leak in dso-data.c 2013-10-14 10:28:54 -03:00
ui perf annotate: Another fix for annotate_browser__callq() 2013-10-14 12:21:18 -03:00
util perf tools: Compare dso's also when comparing symbols 2013-10-21 17:33:23 -03:00
.gitignore perf tools: Ignore 'perf timechart' output file 2013-10-11 12:17:37 -03:00
CREDITS
MANIFEST
Makefile tools/perf/build: Pass through DEBUG parameter 2013-10-14 10:29:07 -03:00
Makefile.perf perf tools: Implement summary output for 'make install' 2013-10-11 12:18:11 -03:00
bash_completion perf completion: Use more comp words 2013-10-09 11:12:31 -03:00
builtin-annotate.c perf tools: Separate out GTK codes to libperf-gtk.so 2013-10-09 15:55:25 -03:00
builtin-bench.c tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORT 2013-10-09 08:48:28 +02:00
builtin-buildid-cache.c perf buildid-cache: Add ability to add kcore to the cache 2013-10-14 12:20:38 -03:00
builtin-buildid-list.c
builtin-diff.c tools/perf: Add support for record transaction flags 2013-10-04 10:06:12 +02:00
builtin-evlist.c
builtin-help.c
builtin-inject.c tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORT 2013-10-09 08:48:28 +02:00
builtin-kmem.c perf kmem: Make it work again on non NUMA machines 2013-09-24 14:13:46 -03:00
builtin-kvm.c perf tools: Check mmap pages value early 2013-10-09 11:24:10 -03:00
builtin-list.c
builtin-lock.c perf lock: Account for lock average wait time 2013-10-09 11:24:01 -03:00
builtin-mem.c perf tools: Add attr->mmap2 support 2013-09-11 10:09:32 -03:00
builtin-probe.c tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORT 2013-10-09 08:48:28 +02:00
builtin-record.c perf record: Improve write_output error message 2013-10-21 11:19:06 -03:00
builtin-report.c perf tools: Separate out GTK codes to libperf-gtk.so 2013-10-09 15:55:25 -03:00
builtin-sched.c perf tools: change machine__findnew_thread() to set thread pid 2013-08-29 11:51:31 -03:00
builtin-script.c perf script: Print addr by default for BTS 2013-10-21 17:33:22 -03:00
builtin-stat.c perf stat: Add units to nanosec-based counters 2013-10-11 12:17:46 -03:00
builtin-timechart.c
builtin-top.c perf symbols: Add new option --ignore-vmlinux for perf top 2013-10-09 11:42:20 -03:00
builtin-trace.c perf trace: Improve messages related to /proc/sys/kernel/perf_event_paranoid 2013-10-17 17:38:29 -03:00
builtin.h
command-list.txt
design.txt
perf-archive.sh
perf.c perf trace: Add 'trace' alias to 'perf trace' 2013-10-11 12:17:10 -03:00
perf.h tools/perf: Add support for record transaction flags 2013-10-04 10:06:12 +02:00