diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2019-11-14 12:28:41 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-11-18 13:01:50 -0300 |
commit | a94ab91a54c63b9101715b03171219279cc0ee26 (patch) | |
tree | 4edeba4abe5e07f88082dab4e834f208f7b90b87 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 6e0a9b3dfaaf93476b34825e53c4ec065267081e (diff) |
perf machine: No need to check if kernel module maps pre-exist
We'only populating maps for kernel modules either from perf.data file
PERF_RECORD_MMAP records or when parsing /proc/modules, so there is no
need to first look if we already have those module maps in the list,
that would mean the kernel has duplicate entries.
So ditch one use of looking up maps by name.
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