]> git.baikalelectronics.ru Git - kernel.git/commit
perf trace: Add mmap2 handler
authorDavid Ahern <dsahern@gmail.com>
Mon, 23 Sep 2013 01:44:58 +0000 (19:44 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 24 Sep 2013 17:15:51 +0000 (14:15 -0300)
commit99b36bc1a1258f5a69a63d6f53f2331f043ac932
treee08c04a4d7beb4f6216ff6a7330fd7050568d286
parent7d6ff2862ae13c62c477c9c7a31ab18e86591571
perf trace: Add mmap2 handler

93639267 changed perf_event__synthesize_mmap_events to generate MMAP2
events. Since perf-trace does not have a handler for it it dies with a
segfault when trying to process files:

perf trace -i /tmp/perf.data
Segmentation fault

Signed-off-by: David Ahern <dsahern@gmail.com>
Link: http://lkml.kernel.org/r/1379900700-5186-4-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c