Skip to content

Commit e0d153c

Browse files
mhiramathitachirostedt
authored andcommitted
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>
1 parent bcfc082 commit e0d153c

5 files changed

Lines changed: 768 additions & 523 deletions

File tree

‎tools/perf/Makefile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ LIB_H += util/thread.h
279279
LIB_H += util/thread_map.h
280280
LIB_H += util/trace-event.h
281281
LIB_H += util/probe-finder.h
282+
LIB_H += util/dwarf-aux.h
282283
LIB_H += util/probe-event.h
283284
LIB_H += util/pstack.h
284285
LIB_H += util/cpumap.h
@@ -435,6 +436,7 @@ else
435436
BASIC_CFLAGS += -DDWARF_SUPPORT
436437
EXTLIBS += -lelf -ldw
437438
LIB_OBJS += $(OUTPUT)util/probe-finder.o
439+
LIB_OBJS += $(OUTPUT)util/dwarf-aux.o
438440
endif # PERF_HAVE_DWARF_REGS
439441
endif # NO_DWARF
440442

0 commit comments

Comments
 (0)