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

6.35.4 BPF Type Attributes

BPF Compile Once - Run Everywhere (CO-RE) support. When attached to a struct 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.