linux/tools/perf/util/include/asm
Arnaldo Carvalho de Melo b32d133aec perf symbols: Simplify symbol machinery setup
And also express its configuration toggles via a struct.

Now all one has to do is to call symbol__init(NULL) if the
defaults are OK, or pass a struct symbol_conf pointer with the
desired configuration.

If a tool uses kernel_maps__find_symbol() to look at the kernel
and modules mappings for a symbol but didn't call symbol__init()
first, that will generate a one time warning too, alerting the
subcommand developer that symbol__init() must be called.

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: <1259071517-3242-2-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-11-24 16:37:02 +01:00
..
asm-offsets.h perf tools: Use DECLARE_BITMAP instead of an open-coded array 2009-10-19 09:26:35 +02:00
bitops.h perf tools: Drop asm/types.h wrapper 2009-10-23 07:55:19 +02:00
bug.h perf symbols: Simplify symbol machinery setup 2009-11-24 16:37:02 +01:00
byteorder.h perf tools: Drop asm/types.h wrapper 2009-10-23 07:55:19 +02:00
swab.h perf tools: Use kernel bitmap library 2009-10-19 09:26:34 +02:00
system.h
uaccess.h perf tools: Use kernel bitmap library 2009-10-19 09:26:34 +02:00