summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/libbpf.map
diff options
context:
space:
mode:
authorFlorent Revest <revest@chromium.org>2021-11-19 21:00:35 +0300
committerAndrii Nakryiko <andrii@kernel.org>2021-11-20 01:21:37 +0300
commit8cccee9e91e19207671b94af40bacf7c1d2e74ef (patch)
tree77bf1280f8f583f88b09586ef42dd70ded58b99b /tools/lib/bpf/libbpf.map
parent9a49afe6f5a516eb33bec24be0f81cb35ca79445 (diff)
downloadlinux-8cccee9e91e19207671b94af40bacf7c1d2e74ef.tar.xz
libbpf: Change bpf_program__set_extra_flags to bpf_program__set_flags
bpf_program__set_extra_flags has just been introduced so we can still change it without breaking users. This new interface is a bit more flexible (for example if someone wants to clear a flag). Signed-off-by: Florent Revest <revest@chromium.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20211119180035.1396139-1-revest@chromium.org
Diffstat (limited to 'tools/lib/bpf/libbpf.map')
-rw-r--r--tools/lib/bpf/libbpf.map2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/bpf/libbpf.map b/tools/lib/bpf/libbpf.map
index bea6791272e5..69bc069f0a68 100644
--- a/tools/lib/bpf/libbpf.map
+++ b/tools/lib/bpf/libbpf.map
@@ -400,7 +400,7 @@ LIBBPF_0.6.0 {
bpf_program__flags;
bpf_program__insn_cnt;
bpf_program__insns;
- bpf_program__set_extra_flags;
+ bpf_program__set_flags;
btf__add_btf;
btf__add_decl_tag;
btf__add_type_tag;