aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/examples/bpf
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-11-14 12:15:34 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-11-18 11:21:32 -0300
commit6e0a9b3dfaaf93476b34825e53c4ec065267081e (patch)
tree9db156c56c10fbeaa2716e3d2c1be3dd7271e651 /tools/perf/examples/bpf
parentperf map: No need to adjust the long name of modules (diff)
downloadlinux-dev-6e0a9b3dfaaf93476b34825e53c4ec065267081e.tar.xz
linux-dev-6e0a9b3dfaaf93476b34825e53c4ec065267081e.zip
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 <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-mofoxvcx2dryppcw3o689jdd@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/examples/bpf')
0 files changed, 0 insertions, 0 deletions