aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAnton Blanchard <[email protected]>2011-08-30 09:15:06 +1000
committerArnaldo Carvalho de Melo <[email protected]>2011-09-23 14:37:06 -0300
commit6a0e55d85babfccfd976703852ec8bab388b3a10 (patch)
tree965a6075c05d2600c50508b1dba4a0a7c5606614 /tools/perf/util/scripting-engines/trace-event-python.c
parent764e16a30a77a9c8346fbae6615e7c818ce9d00f (diff)
perf symbols: Synthesize anonymous mmap events
perf_event__synthesize_mmap_events does not create anonymous mmap events even though the kernel does. As a result an already running application with dynamically created code will not get profiled - all samples end up in the unknown bucket. This patch skips any entries with '[' in the name to avoid adding events for special regions (eg the vsyscall page). All other executable mmaps are assumed to be anonymous and an event is synthesized. Acked-by: Pekka Enberg <[email protected]> Cc: Eric B Munson <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Pekka Enberg <[email protected]> Link: http://lkml.kernel.org/r/20110830091506.60b51fe8@kryten Signed-off-by: Anton Blanchard <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions