aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2022-07-11 12:32:09 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-07-20 11:08:37 -0300
commitf42bbbf2e9a50cacc6981f7f8514b33d56d054ba (patch)
tree34e61f6f6b93823739ffbbc48c6a8938c7c0c0e3 /tools/perf/scripts/python
parentperf machine: Use realloc_array_as_needed() in machine__set_current_tid() (diff)
downloadlinux-f42bbbf2e9a50cacc6981f7f8514b33d56d054ba.tar.gz
linux-f42bbbf2e9a50cacc6981f7f8514b33d56d054ba.zip
perf tools: Handle injected guest kernel mmap event
If a kernel mmap event was recorded inside a guest and injected into a host perf.data file, then it will match a host mmap_name not a guest mmap_name, see machine__set_mmap_name(). So try matching a host mmap_name in that case. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Acked-by: Ian Rogers <irogers@google.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: kvm@vger.kernel.org Link: https://lore.kernel.org/r/20220711093218.10967-27-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions