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)
commita827c875f2ebe69c6e6db5e7f112d4beb4d80f01
tree68ffab0b70688679a239c1e6312ff565784fb0c9
parent0085c954140d27937ada29d139c16341075d45e4
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