diff options
author | Jiri Olsa <[email protected]> | 2022-06-15 13:21:16 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-06-16 19:42:21 -0700 |
commit | eb1b2985fe5c5f02e43e4c0d47bbe7ed835007f3 (patch) | |
tree | ef36d0d59d4d21ef7766753a03a1688b343b78c0 /scripts/clang-tools/gen_compile_commands.py | |
parent | ad8848535e97f4a5374fc68f7a5d16e2565940cc (diff) |
ftrace: Keep address offset in ftrace_lookup_symbols
We want to store the resolved address on the same index as
the symbol string, because that's the user (bpf kprobe link)
code assumption.
Also making sure we don't store duplicates that might be
present in kallsyms.
Acked-by: Song Liu <[email protected]>
Acked-by: Steven Rostedt (Google) <[email protected]>
Fixes: bed0d9a50dac ("ftrace: Add ftrace_lookup_symbols function")
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 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions