diff options
Diffstat (limited to 'tools/perf/util/map.h')
-rw-r--r-- | tools/perf/util/map.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/perf/util/map.h b/tools/perf/util/map.h index b756368076c6..a4a5bc4fca6d 100644 --- a/tools/perf/util/map.h +++ b/tools/perf/util/map.h | |||
@@ -68,14 +68,13 @@ u64 map__rip_2objdump(struct map *map, u64 rip); | |||
68 | u64 map__objdump_2ip(struct map *map, u64 addr); | 68 | u64 map__objdump_2ip(struct map *map, u64 addr); |
69 | 69 | ||
70 | struct symbol; | 70 | struct symbol; |
71 | struct mmap_event; | ||
72 | 71 | ||
73 | typedef int (*symbol_filter_t)(struct map *map, struct symbol *sym); | 72 | typedef int (*symbol_filter_t)(struct map *map, struct symbol *sym); |
74 | 73 | ||
75 | void map__init(struct map *self, enum map_type type, | 74 | void map__init(struct map *self, enum map_type type, |
76 | u64 start, u64 end, u64 pgoff, struct dso *dso); | 75 | u64 start, u64 end, u64 pgoff, struct dso *dso); |
77 | struct map *map__new(struct mmap_event *event, enum map_type, | 76 | struct map *map__new(u64 start, u64 len, u64 pgoff, u32 pid, char *filename, |
78 | char *cwd, int cwdlen); | 77 | enum map_type type, char *cwd, int cwdlen); |
79 | void map__delete(struct map *self); | 78 | void map__delete(struct map *self); |
80 | struct map *map__clone(struct map *self); | 79 | struct map *map__clone(struct map *self); |
81 | int map__overlap(struct map *l, struct map *r); | 80 | int map__overlap(struct map *l, struct map *r); |