diff options
| author | pengdonglin <pengdonglin@xiaomi.com> | 2026-09-16 21:32:16 +0800 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2026-10-15 18:52:53 -0400 |
| commit | ba0ec74274944254f266ab118fd4f454a002182f (patch) | |
| tree | 54dc60c5edfd37cebdb8fa8f054160e5682761a9 /scripts/basic/split-include.c | |
| parent | 42643ba35deb8ad1821acfc0577b445ee7ad7548 (diff) | |
| download | linux-ba0ec74274944254f266ab118fd4f454a002182f.tar.gz linux-ba0ec74274944254f266ab118fd4f454a002182f.zip | |
ftrace: Build trace_btf.c when CONFIG_DEBUG_INFO_BTF is enabled
The trace_btf.c file provides BTF helper functions used by the ftrace
subsystem. Make the compilation of trace_btf.c solely depend on
CONFIG_DEBUG_INFO_BTF, allowing features like funcgraph-retval to also
utilize these helpers.
Additionally, the redundant dependency on CONFIG_PROBE_EVENTS_BTF_ARGS
is removed, as CONFIG_DEBUG_INFO_BTF already depends on
CONFIG_BPF_SYSCALL.
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Xiaoqin Zhang <zhangxiaoqin@xiaomi.com>
Link: https://patch.msgid.link/20260916133218.1282590-3-dolinux.peng@gmail.com
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: pengdonglin <pengdonglin@xiaomi.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
