summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2022-07-11 12:31:44 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-07-19 16:19:00 -0300
commit68566a7cf56bf3148797c218ed45a9de078ef47c (patch)
tree7818323d1dc90cd540a234acedd227bc5f8b5eeb /tools/perf/scripts/python/export-to-sqlite.py
parenta6bd98c45d1aeec59493617b02a86de39d384535 (diff)
downloadlinux-stable-68566a7cf56bf3148797c218ed45a9de078ef47c.tar.gz
linux-stable-68566a7cf56bf3148797c218ed45a9de078ef47c.tar.bz2
linux-stable-68566a7cf56bf3148797c218ed45a9de078ef47c.zip
perf tools: Fix dso_id inode generation comparison
Synthesized MMAP events have zero ino_generation, so do not compare them to DSOs with a real ino_generation otherwise we end up with a DSO without a build id. Fixes: 0e3149f86b99ddab ("perf dso: Move dso_id from 'struct map' to 'struct dso'") Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: kvm@vger.kernel.org Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20220711093218.10967-2-adrian.hunter@intel.com [ Added clarification to the comment from Ian + more detailed explanation from Adrian ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions