aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2022-10-25 15:41:42 +0200
committerAlexei Starovoitov <[email protected]>2022-10-25 10:14:50 -0700
commit3640bf8584f4ab0f5eed6285f09213954acd8b62 (patch)
tree10c32c12bd3d71373bfe308f5cafa059b858f15b /tools/perf/scripts/python/libxed.py
parent73feb8d5fa3b755bb51077c0aabfb6aa556fd498 (diff)
ftrace: Add support to resolve module symbols in ftrace_lookup_symbols
Currently ftrace_lookup_symbols iterates only over core symbols, adding module_kallsyms_on_each_symbol call to check on modules symbols as well. Also removing 'args.found == args.cnt' condition, because it's already checked in kallsyms_callback function. Also removing 'err < 0' check, because both *kallsyms_on_each_symbol functions do not return error. Reported-by: Martynas Pumputis <[email protected]> Acked-by: Song Liu <[email protected]> Signed-off-by: Jiri Olsa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions