xref: /linux/tools/testing/selftests/bpf/progs/kfunc_call_destructive.c (revision 3f58ff6b53c11773b1bd564082fae37d48e0cc40)
1 // SPDX-License-Identifier: GPL-2.0
2 #include <vmlinux.h>
3 #include <bpf/bpf_helpers.h>
4 
5 extern void bpf_kfunc_call_test_destructive(void) __ksym;
6 
7 SEC("tc")
8 int kfunc_destructive_test(void)
9 {
10 	bpf_kfunc_call_test_destructive();
11 	return 0;
12 }
13 
14 char _license[] SEC("license") = "GPL";
15