diff options
| author | Masami Hiramatsu <[email protected]> | 2010-03-22 16:10:26 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2010-03-22 17:47:35 +0000 |
| commit | 4b4da7f76660ea8b5aa45615165c48f62167ffa8 (patch) | |
| tree | 927274cf9fe9fca657983f4a5d3d3a91a40a051b /tools/perf/builtin-annotate.c | |
| parent | perf newt: Properly restore the screen when error exiting (diff) | |
| download | kernel-4b4da7f76660ea8b5aa45615165c48f62167ffa8.tar.gz kernel-4b4da7f76660ea8b5aa45615165c48f62167ffa8.zip | |
perf probe: Cleanup debuginfo related code
Cleanup debuginfo related code to eliminate fragile code which
pointed by Ingo (Thanks!).
1) Invert logic of NO_DWARF_SUPPORT to DWARF_SUPPORT.
2) For removing assymetric/local variable ifdefs, introduce
more helper functions.
3) Change options order to reduce the number of ifdefs.
Reported-by: Ingo Molnar <[email protected]>
Signed-off-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions
