// SPDX-License-Identifier: GPL-2.0 #include "vmlinux.h" #include #include #include typedef int (*func_proto_typedef)(long); typedef int (*func_proto_typedef_nested1)(func_proto_typedef); typedef int (*func_proto_typedef_nested2)(func_proto_typedef_nested1); int proto_out; SEC("raw_tracepoint/sys_enter") int core_relo_proto(void *ctx) { proto_out = bpf_core_type_exists(func_proto_typedef_nested2); return 0; } char LICENSE[] SEC("license") = "GPL";