aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf_legacy.h
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2021-09-28 16:19:44 +0000
committerAlexei Starovoitov <[email protected]>2021-09-28 20:51:19 +0000
commitd41ea045a6e461673d1b2fad106b8cd04c3ba863 (patch)
treebb1bae026275645e4ffb10b54c81a34f68b21f2a /tools/lib/bpf/libbpf_legacy.h
parentlibbpf: Refactor ELF section handler definitions (diff)
downloadkernel-d41ea045a6e461673d1b2fad106b8cd04c3ba863.tar.gz
kernel-d41ea045a6e461673d1b2fad106b8cd04c3ba863.zip
libbpf: Complete SEC() table unification for BPF_APROG_SEC/BPF_EAPROG_SEC
Complete SEC() table refactoring towards unified form by rewriting BPF_APROG_SEC and BPF_EAPROG_SEC definitions with SEC_DEF(SEC_ATTACHABLE_OPT) (for optional expected_attach_type) and SEC_DEF(SEC_ATTACHABLE) (mandatory expected_attach_type), respectively. Drop BPF_APROG_SEC, BPF_EAPROG_SEC, and BPF_PROG_SEC_IMPL macros after that, leaving SEC_DEF() macro as the only one used. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Dave Marchevsky <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/libbpf_legacy.h')
0 files changed, 0 insertions, 0 deletions