linux/tools/perf
Arnaldo Carvalho de Melo c338aee853 perf symbols: Do lazy symtab loading for the kernel & modules too
Just like we do with the other DSOs. This also simplifies the
kernel_maps setup process, now all that the tools need to do is
to call kernel_maps__init and the maps for the modules and
kernel will be created, then, later, when
kernel_maps__find_symbol() is used, it will also call
maps__find_symbol that already checks if the symtab was loaded,
loading it if needed.

Now if one does 'perf top --hide_kernel_symbols' we won't pay
the price of loading the (many) symbols in /proc/kallsyms or
vmlinux.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1258757489-5978-4-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-11-21 14:11:33 +01:00
..
bench perf bench: Improve sched-message.c with more comfortable output 2009-11-10 19:56:46 +01:00
Documentation Merge branch 'perf/core' into perf/probes 2009-11-17 10:17:47 +01:00
util perf symbols: Do lazy symtab loading for the kernel & modules too 2009-11-21 14:11:33 +01:00
.gitignore perf tools: .gitignore += perf*.html 2009-09-24 14:01:22 +02:00
builtin-annotate.c perf symbols: Do lazy symtab loading for the kernel & modules too 2009-11-21 14:11:33 +01:00
builtin-bench.c perf bench: Improve builtin-bench.c for more friendly output 2009-11-10 19:56:44 +01:00
builtin-buildid-list.c perf buildid-list: Always show the DSO name 2009-11-17 07:19:54 +01:00
builtin-help.c perf: Clean up trivial style issues in builtin-help.c 2009-11-03 18:37:29 +01:00
builtin-kmem.c perf: Add 'perf kmem' tool 2009-11-20 09:51:41 +01:00
builtin-list.c perf list: Fix large list output by using the pager 2009-08-13 09:05:48 +02:00
builtin-probe.c perf/probes: Rename perf probe events group name 2009-11-04 13:02:47 +01:00
builtin-record.c perf tools: Eliminate some more die() uses in library functions 2009-11-19 18:47:17 +01:00
builtin-report.c perf symbols: Do lazy symtab loading for the kernel & modules too 2009-11-21 14:11:33 +01:00
builtin-sched.c perf tools: Simplify the symbol priv area mechanism 2009-11-02 16:52:11 +01:00
builtin-stat.c perf stat: Do not print ratio when task-clock event is not counted 2009-11-15 15:25:50 +01:00
builtin-timechart.c perf tools: perf_header__read() shouldn't die() 2009-11-19 18:47:17 +01:00
builtin-top.c perf symbols: Do lazy symtab loading for the kernel & modules too 2009-11-21 14:11:33 +01:00
builtin-trace.c perf tools: Simplify the symbol priv area mechanism 2009-11-02 16:52:11 +01:00
builtin.h perf: Add 'perf kmem' tool 2009-11-20 09:51:41 +01:00
command-list.txt Merge branch 'perf/core' into perf/probes 2009-11-17 10:17:47 +01:00
CREDITS perf_counter tools: Add CREDITS file for Git contributors 2009-06-24 19:54:29 +02:00
design.txt perf_event: Add alignment-faults and emulation-faults software events 2009-10-28 16:13:03 +11:00
Makefile perf: Add 'perf kmem' tool 2009-11-20 09:51:41 +01:00
perf.c perf: Add 'perf kmem' tool 2009-11-20 09:51:41 +01:00
perf.h perf tools: Add ia64 support for tools/perf/ 2009-11-19 06:03:33 +01:00