-
由 Jiri Olsa 提交于
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: NSong Liu <songliubraving@fb.com> Acked-by: NSteven Rostedt (Google) <rostedt@goodmis.org> Fixes: bed0d9a5 ("ftrace: Add ftrace_lookup_symbols function") Signed-off-by: NJiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/r/20220615112118.497303-3-jolsa@kernel.orgSigned-off-by: NAlexei Starovoitov <ast@kernel.org>
eb1b2985