diff options
| author | Namhyung Kim <[email protected]> | 2024-06-21 17:05:26 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2024-06-25 18:06:20 +0000 |
| commit | e988a5b53ebd40c2fafc86250e95d69929796fbd (patch) | |
| tree | 2821b5f2ebc02f83cb84b53de02a4db9fb20811c /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | perf report: Fix condition in sort__sym_cmp() (diff) | |
| download | kernel-e988a5b53ebd40c2fafc86250e95d69929796fbd.tar.gz kernel-e988a5b53ebd40c2fafc86250e95d69929796fbd.zip | |
perf symbol: Simplify kernel module checking
In dso__load(), it checks if the dso is a kernel module by looking the
symtab type. Actually dso has 'is_kmod' field to check that easily and
dso__set_module_info() set the symtab type and the is_kmod bit. So it
should have the same result to check the is_kmod bit.
Reviewed-by: Kan Liang <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
