perf symbols: Introduce symbol__elf_init()
authorNamhyung Kim <namhyung.kim@lge.com>
Mon, 6 Aug 2012 04:41:19 +0000 (13:41 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 9 Aug 2012 19:19:14 +0000 (16:19 -0300)
commit166ccc9c244828da9214a0e7ba4d5dde6a26dcc1
tree3fbe7d7ff788ca17842ea0d5ccc4efe5a6becb62
parentb25085be457b4292a563c0bf2fab2ef5b7bb3c45
perf symbols: Introduce symbol__elf_init()

The symbol__elf_init() is for initializing internal libelf data
structure and getting rid of its dependency outside of ELF/symboling
handling code.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1344228082-15569-2-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-buildid-list.c
tools/perf/util/symbol.c
tools/perf/util/symbol.h