__CORE_RELO(src, fld, BYTE_OFFSET)) #else /* semantics of LSHIFT_64 assumes loading values into low-ordered bytes, so * for big-endian we need to adjust destination pointer accordingly, based on * field byte size */ #define __CORE_BITFIELD_PROBE_READ(dst, src, fld) \ bpf_prob...
BPF_ENUMVAL_VALUE = 1, /* enum value value relocation */ }; #define __CORE_RELO(src, field, info) \ __builtin_preserve_field_info((src)->field, BPF_FIELD_##info) #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ #define __CORE_BITFIELD_PROBE_READ(dst, src, fld) \ b...
bpf_core_read.h bpf_endian.h bpf_gen_internal.h bpf_helper_defs.h bpf_helpers.h bpf_prog_linfo.c bpf_tracing.h btf.c btf.h btf_dump.c gen_loader.c hashmap.c hashmap.h libbpf.c libbpf.h libbpf.map libbpf.pc.template libbpf_common.h ...
Automated upstream mirror for libbpf stand-alone build. - libbpf/src/bpf_core_read.h at 95971ddd4849fa1390e661d78174e12072388bc3 · libbpf/libbpf
selftests/bpf: Fix BPF_CORE_READ_BITFIELD() macro anakryikocommittedMay 6, 2021 242842b Commits on Jan 27, 2021 libbpf: Clarify kernel type use with USER variants of CORE reading macros anakryikocommittedJan 27, 2021 d52e5f5 libbpf: Add non-CO-RE variants of BPF_CORE_READ() macro...