perf-probe: Move dwarf library routines to dwarf-aux.{c, h}
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Mon, 27 Jun 2011 07:27:27 +0000 (16:27 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Jul 2011 20:10:17 +0000 (16:10 -0400)
commite0d153c69040bb37cbdf09deb52fee3013c07742
treee008ba8ac1f328b6938e80b9208d64c4548f8e8e
parentbcfc082150c6b1e9443c1277bca8be80094150b5
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>
tools/perf/Makefile
tools/perf/util/dwarf-aux.c [new file with mode: 0644]
tools/perf/util/dwarf-aux.h [new file with mode: 0644]
tools/perf/util/probe-finder.c
tools/perf/util/probe-finder.h