perf: Add non-exec mmap() tracking
Add the capacility to track data mmap()s. This can be used together with PERF_SAMPLE_ADDR for data profiling. Signed-off-by:Anton Blanchard <anton@samba.org> [Updated code for stable perf ABI] Signed-off-by:
Eric B Munson <ebmunson@us.ibm.com> Signed-off-by:
Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Steven Rostedt <rostedt@goodmis.org> LKML-Reference: <1274193049-25997-1-git-send-email-ebmunson@us.ibm.com> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Showing
- fs/exec.c 1 addition, 0 deletionsfs/exec.c
- include/linux/perf_event.h 3 additions, 9 deletionsinclude/linux/perf_event.h
- kernel/perf_event.c 23 additions, 11 deletionskernel/perf_event.c
- mm/mmap.c 5 additions, 1 deletionmm/mmap.c
- tools/perf/builtin-record.c 3 additions, 1 deletiontools/perf/builtin-record.c
Loading
Please register or sign in to comment