diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2019-11-14 12:15:34 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-11-18 11:21:32 -0300 |
commit | 6e0a9b3dfaaf93476b34825e53c4ec065267081e (patch) | |
tree | 9db156c56c10fbeaa2716e3d2c1be3dd7271e651 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | f068435d9bb2d825d59e3c101bc579f09315ee01 (diff) |
perf record: No need to process the synthesized MMAP events twice
At the end of a 'perf record' session, by default, we'll process all
samples and populate the threads, maps, etc so as to find out which of
the DSOs got samples, to reduce the size of the build-id table we'll
add to the perf.data headers.
But we don't need to process the PERF_RECORD_MMAP events synthesized
for the kernel modules, as we have those already via
perf_session__create_kernel_maps(), so add mmap/mmap2 handlers that
first look at event->header.misc to see if the event is for a user map,
bailing out if not.
Cc: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions