aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorMasami Hiramatsu (Google) <[email protected]>2024-12-26 05:15:14 +0000
committerSteven Rostedt (Google) <[email protected]>2024-12-26 15:50:07 +0000
commit2bc56fdae1ba3fc80ee37a648346abc5f152357d (patch)
tree2dcf85cb01a4e68c6c3de48b57d9b895913b20ae /drivers/gpu/drm/amd
parentDocumentation: probes: Update fprobe on function-graph tracer (diff)
downloadkernel-2bc56fdae1ba3fc80ee37a648346abc5f152357d.tar.gz
kernel-2bc56fdae1ba3fc80ee37a648346abc5f152357d.zip
ftrace: Add ftrace_get_symaddr to convert fentry_ip to symaddr
This introduces ftrace_get_symaddr() which tries to convert fentry_ip passed by ftrace or fgraph callback to symaddr without calling kallsyms API. It returns the symbol address or 0 if it fails to convert it. Cc: Alexei Starovoitov <[email protected]> Cc: Florent Revest <[email protected]> Cc: Martin KaFai Lau <[email protected]> Cc: bpf <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Alan Maguire <[email protected]> Cc: Mark Rutland <[email protected]> Link: https://lore.kernel.org/173519011487.391279.5450806886342723151.stgit@devnote2 Signed-off-by: Masami Hiramatsu (Google) <[email protected]> Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd')
0 files changed, 0 insertions, 0 deletions