diff options
author | Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> | 2011-06-27 03:27:27 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-07-15 16:10:17 -0400 |
commit | e0d153c69040bb37cbdf09deb52fee3013c07742 (patch) | |
tree | e008ba8ac1f328b6938e80b9208d64c4548f8e8e /tools/perf/Makefile | |
parent | bcfc082150c6b1e9443c1277bca8be80094150b5 (diff) |
perf-probe: Move dwarf library routines to dwarf-aux.{c, h}
Move dwarf library related routines to dwarf-aux.{c,h}.
This includes several minor changes.
- Add simple documents for each API.
- Rename die_find_real_subprogram() to die_find_realfunc()
- Rename line_walk_handler_t to line_walk_callback_t.
- Minor cleanups.
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Link: http://lkml.kernel.org/r/20110627072727.6528.57647.stgit@fedora15
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/Makefile')
-rw-r--r-- | tools/perf/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile index 940257b5774e..d0861bbd1d94 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile | |||
@@ -279,6 +279,7 @@ LIB_H += util/thread.h | |||
279 | LIB_H += util/thread_map.h | 279 | LIB_H += util/thread_map.h |
280 | LIB_H += util/trace-event.h | 280 | LIB_H += util/trace-event.h |
281 | LIB_H += util/probe-finder.h | 281 | LIB_H += util/probe-finder.h |
282 | LIB_H += util/dwarf-aux.h | ||
282 | LIB_H += util/probe-event.h | 283 | LIB_H += util/probe-event.h |
283 | LIB_H += util/pstack.h | 284 | LIB_H += util/pstack.h |
284 | LIB_H += util/cpumap.h | 285 | LIB_H += util/cpumap.h |
@@ -435,6 +436,7 @@ else | |||
435 | BASIC_CFLAGS += -DDWARF_SUPPORT | 436 | BASIC_CFLAGS += -DDWARF_SUPPORT |
436 | EXTLIBS += -lelf -ldw | 437 | EXTLIBS += -lelf -ldw |
437 | LIB_OBJS += $(OUTPUT)util/probe-finder.o | 438 | LIB_OBJS += $(OUTPUT)util/probe-finder.o |
439 | LIB_OBJS += $(OUTPUT)util/dwarf-aux.o | ||
438 | endif # PERF_HAVE_DWARF_REGS | 440 | endif # PERF_HAVE_DWARF_REGS |
439 | endif # NO_DWARF | 441 | endif # NO_DWARF |
440 | 442 | ||