diff options
Diffstat (limited to 'tools/perf/util/map.c')
| -rw-r--r-- | tools/perf/util/map.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/perf/util/map.c b/tools/perf/util/map.c index 804e02382739..4e203d144f9e 100644 --- a/tools/perf/util/map.c +++ b/tools/perf/util/map.c | |||
| @@ -54,9 +54,11 @@ static int strcommon(const char *pathname, char *cwd, int cwdlen) | |||
| 54 | goto out_delete; | 54 | goto out_delete; |
| 55 | 55 | ||
| 56 | if (self->dso == vdso || anon) | 56 | if (self->dso == vdso || anon) |
| 57 | self->map_ip = vdso__map_ip; | 57 | self->map_ip = self->unmap_ip = identity__map_ip; |
| 58 | else | 58 | else { |
| 59 | self->map_ip = map__map_ip; | 59 | self->map_ip = map__map_ip; |
| 60 | self->unmap_ip = map__unmap_ip; | ||
| 61 | } | ||
| 60 | } | 62 | } |
| 61 | return self; | 63 | return self; |
| 62 | out_delete: | 64 | out_delete: |
