diff options
| author | Andrii Nakryiko <[email protected]> | 2022-05-09 00:41:43 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2022-05-09 15:15:32 +0000 |
| commit | 2a4ca46b7d2a6f7ba7359e8d7fafe9ad378fa18e (patch) | |
| tree | f0dca6e33d6973173b4675b58c6997e1c7bfa1a1 /tools/lib/bpf/bpf_core_read.h | |
| parent | libbpf: Improve usability of field-based CO-RE helpers (diff) | |
| download | kernel-2a4ca46b7d2a6f7ba7359e8d7fafe9ad378fa18e.tar.gz kernel-2a4ca46b7d2a6f7ba7359e8d7fafe9ad378fa18e.zip | |
selftests/bpf: Use both syntaxes for field-based CO-RE helpers
Excercise both supported forms of bpf_core_field_exists() and
bpf_core_field_size() helpers: variable-based field reference and
type/field name-based one.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf_core_read.h')
0 files changed, 0 insertions, 0 deletions
