diff options
author | Masami Hiramatsu <[email protected]> | 2014-01-16 09:39:49 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-01-16 16:29:44 -0300 |
commit | 99ca423387a3e718f9887a99475cb5271bc610f2 (patch) | |
tree | 1908d624f75406c10ec0d721cacd1dd20633cd3e /tools/perf/util/trace-event-scripting.c | |
parent | e53b00d382f4d8f55bcae301f49863c469fdff65 (diff) |
perf symbols: Export elf_section_by_name and reuse
Remove duplicated elf_section_by_name() functions from unwind.c and
probe-event.c and use one exported elf_section_by_name() instance
defined in symbol-elf.c.
Note that this also moves get_text_start_address() to merge
HAVE_DWARF_SUPPORT defined area.
Reported-by: David Ahern <[email protected]>
Signed-off-by: Masami Hiramatsu <[email protected]>
Cc: "David A. Long" <[email protected]>
Cc: "Steven Rostedt (Red Hat)" <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Srikar Dronamraju <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions