Skip to content

Commit d9cefc7

Browse files
committed
tgupdate: merge t/upstream base into t/upstream
2 parents f1e9157 + d636b55 commit d9cefc7

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

tools/testing/selftests/bpf/progs/cgroup_read_xattr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include <bpf/bpf_core_read.h>
88
#include "bpf_experimental.h"
99
#include "bpf_misc.h"
10+
#include "cgrp_kfunc_common.h"
1011

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

tools/testing/selftests/bpf/progs/dynptr_success.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
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

tools/testing/selftests/bpf/progs/iters_testmod.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88

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

11+
void bpf_rcu_read_lock(void) __ksym;
12+
void bpf_rcu_read_unlock(void) __ksym;
13+
1114
SEC("raw_tp/sys_enter")
1215
__success
1316
int iter_next_trusted(const void *ctx)

tools/testing/selftests/bpf/progs/read_cgroupfs_xattr.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@
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

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

13+
void bpf_rcu_read_lock(void) __ksym;
14+
void bpf_rcu_read_unlock(void) __ksym;
15+
1216
pid_t target_pid = 0;
1317

1418
char xattr_value[64];

0 commit comments

Comments
 (0)