diff options
author | 2022-05-08 17:41:44 -0700 | |
---|---|---|
committer | 2022-05-09 17:15:32 +0200 | |
commit | 7715f549a9d80a82428a7925fa4a00518c53c35c (patch) | |
tree | 6da1158d453283f609e69c478b59225c6fb4491c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/bpf: Use both syntaxes for field-based CO-RE helpers (diff) | |
download | linux-dev-7715f549a9d80a82428a7925fa4a00518c53c35c.tar.xz linux-dev-7715f549a9d80a82428a7925fa4a00518c53c35c.zip |
libbpf: Complete field-based CO-RE helpers with field offset helper
Add bpf_core_field_offset() helper to complete field-based CO-RE
helpers. This helper can be useful for feature-detection and for some
more advanced cases of field reading (e.g., reading flexible array members).
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220509004148.1801791-6-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions