perf symbols: Generalise the kallsyms parsing routine
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 4 Jan 2010 18:19:26 +0000 (16:19 -0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 13 Jan 2010 09:09:08 +0000 (10:09 +0100)
commit682b335a5bccf9e5b7e74380784aa2f145d04444
tree98a2be405f1a162964935d9b33a1acccedec2ea3
parent60666c630bdb33983a894b050b588b663f38f368
perf symbols: Generalise the kallsyms parsing routine

Will be used to find an specific symbol by name on 'perf record'
to support relocation reference symbols to support relocatable
kernels.

Still have to conver the perf trace tools to use it instead of
their current reimplementation.

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: <1262629169-22797-1-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/symbol.c
tools/perf/util/symbol.h