diff options
Diffstat (limited to 'tools/perf/util/map.c')
-rw-r--r-- | tools/perf/util/map.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/perf/util/map.c b/tools/perf/util/map.c index 3b7ce1bf9f8e..679011c1b6d1 100644 --- a/tools/perf/util/map.c +++ b/tools/perf/util/map.c | |||
@@ -32,8 +32,7 @@ void map__init(struct map *self, u64 start, u64 end, u64 pgoff, | |||
32 | RB_CLEAR_NODE(&self->rb_node); | 32 | RB_CLEAR_NODE(&self->rb_node); |
33 | } | 33 | } |
34 | 34 | ||
35 | struct map *map__new(struct mmap_event *event, char *cwd, int cwdlen, | 35 | struct map *map__new(struct mmap_event *event, char *cwd, int cwdlen) |
36 | unsigned int sym_priv_size) | ||
37 | { | 36 | { |
38 | struct map *self = malloc(sizeof(*self)); | 37 | struct map *self = malloc(sizeof(*self)); |
39 | 38 | ||
@@ -60,7 +59,7 @@ struct map *map__new(struct mmap_event *event, char *cwd, int cwdlen, | |||
60 | filename = newfilename; | 59 | filename = newfilename; |
61 | } | 60 | } |
62 | 61 | ||
63 | dso = dsos__findnew(filename, sym_priv_size); | 62 | dso = dsos__findnew(filename); |
64 | if (dso == NULL) | 63 | if (dso == NULL) |
65 | goto out_delete; | 64 | goto out_delete; |
66 | 65 | ||