xref: /linux/tools/testing/selftests/bpf/progs/rcu_tasks_trace_gp.c (revision 1fd1dc41724319406b0aff221a352a400b0ddfc5)
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