Wire up BPF cookie for raw tracepoint programs (both BTF and non-BTF aware variants). This brings them up to part w.r.t. BPF cookie usage with classic tracepoint and fentry/fexit programs.
Showing the changes to tools/include/uapi/linux (1 of 5 files). Show all
Unified · Split
| @@ -1664,6 +1664,7 @@ union bpf_attr { · 1663 unmodified lines | |||
| 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 | } raw_tracepoint; | 1668 | } raw_tracepoint; |
| 1668 | 1669 | ||
| 1669 | struct { /* anonymous struct for BPF_BTF_LOAD */ | 1670 | struct { /* anonymous struct for BPF_BTF_LOAD */ |