projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23a7baa
)
libbpf: Deprecated bpf_object_open_opts.relaxed_core_relocs
author
Andrii Nakryiko
<andrii@kernel.org>
Thu, 16 Sep 2021 01:58:32 +0000
(18:58 -0700)
committer
Alexei Starovoitov
<ast@kernel.org>
Fri, 17 Sep 2021 16:04:12 +0000
(09:04 -0700)
It's relevant and hasn't been doing anything for a long while now.
Deprecated it.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link:
https://lore.kernel.org/bpf/20210916015836.1248906-4-andrii@kernel.org
tools/lib/bpf/libbpf.h
patch
|
blob
|
history
diff --git
a/tools/lib/bpf/libbpf.h
b/tools/lib/bpf/libbpf.h
index 2f6f0e15d1e7f10fc4994b77886a6b3ae6dfe2c5..7111e8d651de632c6c5f3011c15c315a30675f11 100644
(file)
--- a/
tools/lib/bpf/libbpf.h
+++ b/
tools/lib/bpf/libbpf.h
@@
-83,6
+83,7
@@
struct bpf_object_open_opts {
* Non-relocatable instructions are replaced with invalid ones to
* prevent accidental errors.
* */
+ LIBBPF_DEPRECATED_SINCE(0, 6, "field has no effect")
bool relaxed_core_relocs;
/* maps that set the 'pinning' attribute in their definition will have
* their pin_path attribute set to a file in this directory, and be