summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/kfunc_call_destructive.c
blob: 767472bc5a97b5c0b49372f30ec9acf5d0a7b9e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// SPDX-License-Identifier: GPL-2.0
#include <vmlinux.h>
#include <bpf/bpf_helpers.h>

extern void bpf_kfunc_call_test_destructive(void) __ksym;

SEC("tc")
int kfunc_destructive_test(void)
{
	bpf_kfunc_call_test_destructive();
	return 0;
}

char _license[] SEC("license") = "GPL";