2023-08-30 16:31:07 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
#include <vmlinux.h>
|
|
|
|
#include <bpf/bpf_helpers.h>
|
2023-10-24 11:59:35 +01:00
|
|
|
#include "../bpf_testmod/bpf_testmod_kfunc.h"
|
2023-08-30 16:31:07 +01:00
|
|
|
|
|
|
|
SEC("tc")
|
|
|
|
int kfunc_destructive_test(void)
|
|
|
|
{
|
|
|
|
bpf_kfunc_call_test_destructive();
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
char _license[] SEC("license") = "GPL";
|