diff options
| author | Namhyung Kim <namhyung@kernel.org> | 2025-12-02 15:57:14 -0800 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-12-02 21:59:14 -0800 |
| commit | 7da4d60db33cccd8f4c445ab20bba71531435ee5 (patch) | |
| tree | 7d4cc4da150bf355e7117bc1c6039371c2fe04af /tools/lib/python/kdoc/kdoc_output.py | |
| parent | 405f5756bbd231e6b70949909a526bdaf538e2fc (diff) | |
perf tools: Mark split kallsyms DSOs as loaded
The maps__split_kallsyms() will split symbols to module DSOs if it comes
from a module. It also handled some unusual kernel symbols after modules
by creating new kernel maps like "[kernel].0".
But they are pseudo DSOs to have those unexpected symbols. They should
not be considered as unloaded kernel DSOs. Otherwise the dso__load()
for them will end up calling dso__load_kallsyms() and then
maps__split_kallsyms() again and again.
Reviewed-by: Ian Rogers <irogers@google.com>
Fixes: 2e538c4a1847291cf ("perf tools: Improve kernel/modules symbol lookup")
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions
