diff options
| author | Jiri Olsa <[email protected]> | 2014-07-14 15:57:19 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2014-07-16 11:31:22 +0000 |
| commit | fbe26abe118ee1262b4ab0d12fefd42647eaea35 (patch) | |
| tree | 74ba5684042ca588e45495ca042441e3452e501a /tools/perf/scripts/python/futex-contention.py | |
| parent | perf/x86/amd: Try to fix some mem allocation failure handling (diff) | |
| download | kernel-fbe26abe118ee1262b4ab0d12fefd42647eaea35.tar.gz kernel-fbe26abe118ee1262b4ab0d12fefd42647eaea35.zip | |
perf: Add vm_ops->name call for mmap event name retrieval
The following patch added another way to get mmap name: 78d683e838a6
("mm, fs: Add vm_ops->name as an alternative to arch_vma_name")
The vdso vma mapping already switch to this and we no longer get vdso
name via arch_vma_name function. Adding this way to the perf mmap
event name retrieval code.
Caught this via perf test:
$ sudo ./perf test -v 7
7: Validate PERF_RECORD_* events & perf_sample fields :
--- start ---
SNIP
PERF_RECORD_MMAP for [vdso] missing!
test child finished with 255
---- end ----
Validate PERF_RECORD_* events & perf_sample fields: FAILED!
Signed-off-by: Jiri Olsa <[email protected]>
Acked-by: Andy Lutomirski <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
