diff options
| author | Adrian Hunter <[email protected]> | 2022-07-11 09:31:44 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-07-19 19:19:00 +0000 |
| commit | 68566a7cf56bf3148797c218ed45a9de078ef47c (patch) | |
| tree | 7818323d1dc90cd540a234acedd227bc5f8b5eeb /tools/perf/builtin-script.c | |
| parent | perf buildid-list: Add a "-m" option to show kernel and modules build-ids (diff) | |
| download | kernel-68566a7cf56bf3148797c218ed45a9de078ef47c.tar.gz kernel-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 <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: [email protected]
Cc: Namhyung Kim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ Added clarification to the comment from Ian + more detailed explanation from Adrian ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
