History

bpf: Sync uapi bpf.h to tools directory

There is a difference between kernel uapi bpf.h and tools uapi bpf.h. There is no functionality difference, but let us sync properly to make it easy for later bpf.h update.

Yonghong Song committed 2 years ago

Commit 476a5e91 parent 61df5751 file · +4 −3Browse files

Showing the changes to tools/include/uapi/linux (1 of 1 file). Show all

Unified · Split

tools/include/uapi/linux/bpf.h+4−3
@@ -1662,9 +1662,10 @@ union bpf_attr { · 1661 unmodified lines
16621662 } query;
16631663
16641664 struct { /* anonymous struct used by BPF_RAW_TRACEPOINT_OPEN command */
1665− __u64 name;
1666− __u32 prog_fd;
1667− __aligned_u64 cookie;
1665+ __u64 name;
1666+ __u32 prog_fd;
1667+ __u32 :32;
1668+ __aligned_u64 cookie;
16681669 } raw_tracepoint;
16691670
16701671 struct { /* anonymous struct for BPF_BTF_LOAD */