diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-11-11 03:51:05 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-11 06:30:18 (GMT) |
commit | 4778d2e4f410c6eea32f594cb2be9590bcb28b84 (patch) | |
tree | 99625c6a532d83606e0d6c8ec7c812d5d5047e50 /tools/perf/util/data_map.h | |
parent | 57f395a7eabb913d3605d7392be5bdb0837c9f3d (diff) | |
download | linux-fsl-qoriq-4778d2e4f410c6eea32f594cb2be9590bcb28b84.tar.xz |
perf tools: Read the build-ids from the header layer
Keep the build-ids reading implementation in the data mapping
but move its call to the headers so that we have a better
control on it (offset seeking, size passing, etc..).
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
LKML-Reference: <1257911467-28276-4-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/data_map.h')
-rw-r--r-- | tools/perf/util/data_map.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/data_map.h b/tools/perf/util/data_map.h index 716d105..c412281 100644 --- a/tools/perf/util/data_map.h +++ b/tools/perf/util/data_map.h @@ -27,5 +27,7 @@ int mmap_dispatch_perf_file(struct perf_header **pheader, int full_paths, int *cwdlen, char **cwd); +int perf_header__read_build_ids(const struct perf_header *self, + int input, off_t file_size); #endif |