diff options
Diffstat (limited to 'tools/lib/bpf/libbpf.h')
-rw-r--r-- | tools/lib/bpf/libbpf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/lib/bpf/libbpf.h b/tools/lib/bpf/libbpf.h index 511c1294dcbf..2ed24d3f80b3 100644 --- a/tools/lib/bpf/libbpf.h +++ b/tools/lib/bpf/libbpf.h | |||
@@ -128,10 +128,13 @@ void bpf_program__set_ifindex(struct bpf_program *prog, __u32 ifindex); | |||
128 | 128 | ||
129 | const char *bpf_program__title(struct bpf_program *prog, bool needs_copy); | 129 | const char *bpf_program__title(struct bpf_program *prog, bool needs_copy); |
130 | 130 | ||
131 | int bpf_program__load(struct bpf_program *prog, char *license, | ||
132 | u32 kern_version); | ||
131 | int bpf_program__fd(struct bpf_program *prog); | 133 | int bpf_program__fd(struct bpf_program *prog); |
132 | int bpf_program__pin_instance(struct bpf_program *prog, const char *path, | 134 | int bpf_program__pin_instance(struct bpf_program *prog, const char *path, |
133 | int instance); | 135 | int instance); |
134 | int bpf_program__pin(struct bpf_program *prog, const char *path); | 136 | int bpf_program__pin(struct bpf_program *prog, const char *path); |
137 | void bpf_program__unload(struct bpf_program *prog); | ||
135 | 138 | ||
136 | struct bpf_insn; | 139 | struct bpf_insn; |
137 | 140 | ||