BPF Type Attributes (Using the GNU Compiler Collection (GCC)) (original) (raw)

Next: MeP Type Attributes, Previous: ARM Type Attributes, Up: Type Attributes [Contents][Index]

BPF Compile Once - Run Everywhere (CO-RE) support. When attached to astruct or union type definition, indicates that CO-RE relocation information should be generated for any access to a variable of that type. The behavior is equivalent to the programmer manually wrapping every such access with __builtin_preserve_access_index.