diff options
Diffstat (limited to 'samples/bpf/bpf_helpers.h')
-rw-r--r-- | samples/bpf/bpf_helpers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/samples/bpf/bpf_helpers.h b/samples/bpf/bpf_helpers.h index 7ad19e1dbaf4..811bcca0f29d 100644 --- a/samples/bpf/bpf_helpers.h +++ b/samples/bpf/bpf_helpers.h | |||
@@ -39,6 +39,8 @@ static int (*bpf_redirect)(int ifindex, int flags) = | |||
39 | (void *) BPF_FUNC_redirect; | 39 | (void *) BPF_FUNC_redirect; |
40 | static int (*bpf_perf_event_output)(void *ctx, void *map, int index, void *data, int size) = | 40 | static int (*bpf_perf_event_output)(void *ctx, void *map, int index, void *data, int size) = |
41 | (void *) BPF_FUNC_perf_event_output; | 41 | (void *) BPF_FUNC_perf_event_output; |
42 | static int (*bpf_get_stackid)(void *ctx, void *map, int flags) = | ||
43 | (void *) BPF_FUNC_get_stackid; | ||
42 | 44 | ||
43 | /* llvm builtin functions that eBPF C program may use to | 45 | /* llvm builtin functions that eBPF C program may use to |
44 | * emit BPF_LD_ABS and BPF_LD_IND instructions | 46 | * emit BPF_LD_ABS and BPF_LD_IND instructions |