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
1662 } query;1662 } query;
1663 1663
1664 struct { /* anonymous struct used by BPF_RAW_TRACEPOINT_OPEN command */1664 struct { /* anonymous struct used by BPF_RAW_TRACEPOINT_OPEN command */
1665 __u64 name;1665 __u64 name;
1666 __u32 prog_fd;1666 __u32 prog_fd;
1667 __aligned_u64 cookie;1667 __u32 :32;
1668 __aligned_u64 cookie;
1668 } raw_tracepoint;1669 } raw_tracepoint;
1669 1670
1670 struct { /* anonymous struct for BPF_BTF_LOAD */1671 struct { /* anonymous struct for BPF_BTF_LOAD */