aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/bpf/libbpf.h')
-rw-r--r--tools/lib/bpf/libbpf.h3
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
129const char *bpf_program__title(struct bpf_program *prog, bool needs_copy); 129const char *bpf_program__title(struct bpf_program *prog, bool needs_copy);
130 130
131int bpf_program__load(struct bpf_program *prog, char *license,
132 u32 kern_version);
131int bpf_program__fd(struct bpf_program *prog); 133int bpf_program__fd(struct bpf_program *prog);
132int bpf_program__pin_instance(struct bpf_program *prog, const char *path, 134int bpf_program__pin_instance(struct bpf_program *prog, const char *path,
133 int instance); 135 int instance);
134int bpf_program__pin(struct bpf_program *prog, const char *path); 136int bpf_program__pin(struct bpf_program *prog, const char *path);
137void bpf_program__unload(struct bpf_program *prog);
135 138
136struct bpf_insn; 139struct bpf_insn;
137 140