bpf: Sync uapi bpf.h to tools directory
Yonghong Song
reviewerPATCH 1/1 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.
Signed-off-by Yonghong Song <[email protected]>
--- tools/include/uapi/linux/bpf.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
tools/include/uapi/linux/bpf.h +4 -3
@@ -1662,9 +1662,10 @@ union bpf_attr { } query;struct {/* anonymous struct used by BPF_RAW_TRACEPOINT_OPEN command */ -__u64 name; -__u32 prog_fd; -__aligned_u64 cookie; +__u64 name; +__u32 prog_fd; + __u32 :32; +__aligned_u64 cookie; } raw_tracepoint;struct {/* anonymous struct for BPF_BTF_LOAD */
Signature · 1 line
2.43.0