aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorKirill Smelkov <[email protected]>2010-02-03 18:52:08 +0000
committerIngo Molnar <[email protected]>2010-02-04 08:33:28 +0000
commit6cff0e8dbaa4d5d822a814e5028683d7e71c3291 (patch)
treec18d3d87b33b0d22b73990e0f7168b40149c00c5 /tools/perf/util/scripting-engines/trace-event-perl.c
parentperf annotate: Fix it for non-prelinked *.so (diff)
downloadkernel-6cff0e8dbaa4d5d822a814e5028683d7e71c3291.tar.gz
kernel-6cff0e8dbaa4d5d822a814e5028683d7e71c3291.zip
perf top: Teach it to autolocate vmlinux
By relying on logic in dso__load_kernel_sym(), we can automatically load vmlinux. The only thing which needs to be adjusted, is how --sym-annotate option is handled - now we can't rely on vmlinux been loaded until full successful pass of dso__load_vmlinux(), but that's not the case if we'll do sym_filter_entry setup in symbol_filter(). So move this step right after event__process_sample() where we know the whole dso__load_kernel_sym() pass is done. By the way, though conceptually similar `perf top` still can't annotate userspace - see next patches with fixes. Signed-off-by: Kirill Smelkov <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Mike Galbraith <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions