diff options
| author | Andrii Nakryiko <andrii@kernel.org> | 2021-09-28 09:19:44 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2021-09-28 13:51:19 -0700 |
| commit | d41ea045a6e461673d1b2fad106b8cd04c3ba863 (patch) | |
| tree | bb1bae026275645e4ffb10b54c81a34f68b21f2a /tools/perf/scripts/python | |
| parent | libbpf: Refactor ELF section handler definitions (diff) | |
| download | linux-d41ea045a6e461673d1b2fad106b8cd04c3ba863.tar.gz linux-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 <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Dave Marchevsky <davemarchevsky@fb.com>
Link: https://lore.kernel.org/bpf/20210928161946.2512801-9-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
