diff options
| author | Alistair Francis <[email protected]> | 2024-11-04 06:03:00 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-11-04 18:00:39 +0000 |
| commit | 9a783139614fb837da4ccb2f8ec6f0ddc802b3d3 (patch) | |
| tree | 86b8c608ef24490013d5df2341c2a60315f4c45a /tools/testing/selftests/bpf/prog_tests/tracing_struct.c | |
| parent | Merge branch 'fix-resource-leak-checks-for-tail-calls' (diff) | |
| download | kernel-9a783139614fb837da4ccb2f8ec6f0ddc802b3d3.tar.gz kernel-9a783139614fb837da4ccb2f8ec6f0ddc802b3d3.zip | |
bpf: Move btf_type_is_struct_ptr() under CONFIG_BPF_SYSCALL
The static inline btf_type_is_struct_ptr() function calls
btf_type_skip_modifiers() which is guarded by CONFIG_BPF_SYSCALL.
btf_type_is_struct_ptr() is also only called by CONFIG_BPF_SYSCALL
ifdef code, so let's only expose btf_type_is_struct_ptr() if
CONFIG_BPF_SYSCALL is defined.
Signed-off-by: Alistair Francis <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions
