]> git.baikalelectronics.ru Git - kernel.git/commit
perf_counter tools: Consolidate dso methods to load kernel symbols
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 28 May 2009 17:55:19 +0000 (14:55 -0300)
committerIngo Molnar <mingo@elte.hu>
Thu, 28 May 2009 21:25:44 +0000 (23:25 +0200)
commitf4382d034184b743382b9ac8675728a956264f2d
tree68ffab0b70688679a239c1e6312ff565784fb0c9
parent093531fe7f8c8edd00cb3e5561d28646670677e3
perf_counter tools: Consolidate dso methods to load kernel symbols

Now one has just to use dso__load_kernel() optionally passing a vmlinux
filename.

Will make things easier for perf top that will want to pass a callback
to filter some symbols.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/builtin-report.c
Documentation/perf_counter/util/symbol.c
Documentation/perf_counter/util/symbol.h