aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing')
-rw-r--r--tools/testing/selftests/bpf/bpf_helpers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/bpf_helpers.h b/tools/testing/selftests/bpf/bpf_helpers.h
index a66a9d91acf4..f2f28b6c8915 100644
--- a/tools/testing/selftests/bpf/bpf_helpers.h
+++ b/tools/testing/selftests/bpf/bpf_helpers.h
@@ -131,6 +131,8 @@ static int (*bpf_rc_repeat)(void *ctx) =
131static int (*bpf_rc_keydown)(void *ctx, unsigned int protocol, 131static int (*bpf_rc_keydown)(void *ctx, unsigned int protocol,
132 unsigned long long scancode, unsigned int toggle) = 132 unsigned long long scancode, unsigned int toggle) =
133 (void *) BPF_FUNC_rc_keydown; 133 (void *) BPF_FUNC_rc_keydown;
134static unsigned long long (*bpf_get_current_cgroup_id)(void) =
135 (void *) BPF_FUNC_get_current_cgroup_id;
134 136
135/* llvm builtin functions that eBPF C program may use to 137/* llvm builtin functions that eBPF C program may use to
136 * emit BPF_LD_ABS and BPF_LD_IND instructions 138 * emit BPF_LD_ABS and BPF_LD_IND instructions