libbpf: Add support for relocatable bitfields
[linux-2.6-microblaze.git] / tools / lib / bpf / libbpf_internal.h
index bd6f48e..97ac17a 100644 (file)
@@ -158,7 +158,11 @@ struct bpf_line_info_min {
  */
 enum bpf_field_info_kind {
        BPF_FIELD_BYTE_OFFSET = 0,      /* field byte offset */
+       BPF_FIELD_BYTE_SIZE = 1,
        BPF_FIELD_EXISTS = 2,           /* field existence in target kernel */
+       BPF_FIELD_SIGNED = 3,
+       BPF_FIELD_LSHIFT_U64 = 4,
+       BPF_FIELD_RSHIFT_U64 = 5,
 };
 
 /* The minimum bpf_field_reloc checked by the loader