diff options
| -rw-r--r-- | tools/perf/builtin-record.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 4ef78a5e6f32..072aaf0369f8 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c | |||
| @@ -313,6 +313,10 @@ static void pid_synthesize_mmap_samples(pid_t pid) | |||
| 313 | if (*pbf == 'x') { /* vm_exec */ | 313 | if (*pbf == 'x') { /* vm_exec */ |
| 314 | char *execname = strchr(bf, '/'); | 314 | char *execname = strchr(bf, '/'); |
| 315 | 315 | ||
| 316 | /* Catch VDSO */ | ||
| 317 | if (execname == NULL) | ||
| 318 | execname = strstr(bf, "[vdso]"); | ||
| 319 | |||
| 316 | if (execname == NULL) | 320 | if (execname == NULL) |
| 317 | continue; | 321 | continue; |
| 318 | 322 | ||
