diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2012-08-06 06:41:20 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-08-09 21:26:33 +0200 |
commit | e5a1845fc0aeca85c98115980c3531129f87e18d (patch) | |
tree | f67ec3bfc5dc9ae6e2d89ad9b6493a873d4c8652 /tools/perf/util/map.h | |
parent | perf symbols: Introduce symbol__elf_init() (diff) | |
download | linux-e5a1845fc0aeca85c98115980c3531129f87e18d.tar.xz linux-e5a1845fc0aeca85c98115980c3531129f87e18d.zip |
perf symbols: Split out util/symbol-elf.c
Factor out the dependency of ELF handling into separate symbol-elf.c
file. It is a preparation of building a minimalistic version perf tools
which doesn't depend on the elfutils.
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-3-git-send-email-namhyung@kernel.org
[ committer note: removed blank line at symbol-elf.c EOF ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/map.h')
-rw-r--r-- | tools/perf/util/map.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/map.h b/tools/perf/util/map.h index 03a1e9b08b21..1e183d1ae581 100644 --- a/tools/perf/util/map.h +++ b/tools/perf/util/map.h @@ -115,6 +115,7 @@ void map__init(struct map *self, enum map_type type, struct map *map__new(struct list_head *dsos__list, u64 start, u64 len, u64 pgoff, u32 pid, char *filename, enum map_type type); +struct map *map__new2(u64 start, struct dso *dso, enum map_type type); void map__delete(struct map *self); struct map *map__clone(struct map *self); int map__overlap(struct map *l, struct map *r); |