File tree Expand file tree Collapse file tree 4 files changed +9
-0
lines changed
tools/testing/selftests/bpf/progs Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 77#include <bpf/bpf_core_read.h>
88#include "bpf_experimental.h"
99#include "bpf_misc.h"
10+ #include "cgrp_kfunc_common.h"
1011
1112char _license [] SEC ("license" ) = "GPL" ;
1213
Original file line number Diff line number Diff line change 66#include <stdbool.h>
77#include <bpf/bpf_helpers.h>
88#include <bpf/bpf_tracing.h>
9+ #include "bpf_kfuncs.h"
910#include "bpf_misc.h"
1011#include "errno.h"
1112
Original file line number Diff line number Diff line change 88
99char _license [] SEC ("license" ) = "GPL" ;
1010
11+ void bpf_rcu_read_lock (void ) __ksym ;
12+ void bpf_rcu_read_unlock (void ) __ksym ;
13+
1114SEC ("raw_tp/sys_enter" )
1215__success
1316int iter_next_trusted (const void * ctx )
Original file line number Diff line number Diff line change 66#include <bpf/bpf_helpers.h>
77#include <bpf/bpf_core_read.h>
88#include "bpf_experimental.h"
9+ #include "cgrp_kfunc_common.h"
910
1011char _license [] SEC ("license" ) = "GPL" ;
1112
13+ void bpf_rcu_read_lock (void ) __ksym ;
14+ void bpf_rcu_read_unlock (void ) __ksym ;
15+
1216pid_t target_pid = 0 ;
1317
1418char xattr_value [64 ];
You can’t perform that action at this time.
0 commit comments