xref: /linux/tools/testing/selftests/bpf/progs/rcu_tasks_trace_gp.c (revision ff124bbbca1d3a07fa1392ffdbbdeece71f68ece)
1 // SPDX-License-Identifier: GPL-2.0
2 #include <vmlinux.h>
3 #include <bpf/bpf_helpers.h>
4 #include "../test_kmods/bpf_testmod_kfunc.h"
5 
6 int done;
7 
8 SEC("syscall")
9 int call_rcu_tasks_trace(void *ctx)
10 {
11 	return bpf_kfunc_call_test_call_rcu_tasks_trace(&done);
12 }
13 
14 char _license[] SEC("license") = "GPL";
15