tracing/probes: Move finding func-proto API and getting func-param API to trace_btf
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Tue, 22 Aug 2023 16:25:52 +0000 (01:25 +0900)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Wed, 23 Aug 2023 00:39:45 +0000 (09:39 +0900)
commitebeed8d4a55513116116993861c98a72915265ba
tree5c412ad08c637cde6660326953a0b14c13c11a79
parentb1d1e90490b671444ebf66292201572c1059d323
tracing/probes: Move finding func-proto API and getting func-param API to trace_btf

Move generic function-proto find API and getting function parameter API
to BTF library code from trace_probe.c. This will avoid redundant efforts
on different feature.

Link: https://lore.kernel.org/all/169272155255.160970.719426926348706349.stgit@devnote2/
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/Makefile
kernel/trace/trace_btf.c [new file with mode: 0644]
kernel/trace/trace_btf.h [new file with mode: 0644]
kernel/trace/trace_probe.c