diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2025-02-05 16:18:00 -0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2025-02-05 16:18:00 -0800 |
commit | 12befebe023e8c84abca5cd60536eaf72746f76d (patch) | |
tree | cd6f40e746f9fa59469b6a0723115c3be305d711 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 03f3aa4a6b664270d502c7fb44c634cbe250261e (diff) | |
parent | 770cdcf4a59e58c94116f1da9eb7f46b4b4823cd (diff) |
Merge branch 'btf-arbitrary-__attribute__-encoding'
Ihor Solodrai says:
====================
BTF: arbitrary __attribute__ encoding
This patch series extends BPF Type Format (BTF) to support arbitrary
__attribute__ encoding.
Setting the kind_flag to 1 in BTF type tags and decl tags now changes
the meaning for the encoded tag, in particular with respect to
btf_dump in libbpf.
If the kflag is set, then the string encoded by the tag represents the
full attribute-list of an attribute specifier [1].
This feature will allow extending tools such as pahole and bpftool to
capture and use more granular type information, and make it easier to
manage compatibility between clang and gcc BPF compilers.
[1] https://gcc.gnu.org/onlinedocs/gcc-13.2.0/gcc/Attribute-Syntax.html
v2->v3: nit fixes suggested by Andrii
v1->v2:
- When checking for specific BTF tags in the verifier, make sure the
tag's kflag is 0
- Split docs and libbpf changes into separate patches
- Various renames, as suggested by Andrii and Eduard
v2: https://lore.kernel.org/bpf/20250127233955.2275804-1-ihor.solodrai@linux.dev/
v1: https://lore.kernel.org/bpf/20250122025308.2717553-1-ihor.solodrai@pm.me
====================
Link: https://patch.msgid.link/20250130201239.1429648-1-ihor.solodrai@linux.dev
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions