commit | 39b14f36e00ff1783cae49251ba5c7af941b81fb | [log] [tgz] |
---|---|---|
author | Jiri Olsa <[email protected]> | Fri Jan 19 12:04:59 2024 +0100 |
committer | Quentin Monnet <[email protected]> | Mon Jan 29 10:16:29 2024 +0000 |
tree | e146bcd8c3dfb2ea46e7ee7f84c0ec46e02d8a31 | |
parent | bb4dd70223b7b4dfec524c39afe2f5a03a394849 [diff] |
bpf: Store cookies in kprobe_multi bpf_link_info data Storing cookies in kprobe_multi bpf_link_info data. The cookies field is optional and if provided it needs to be an array of __u64 with kprobe_multi.count length. Acked-by: Yafang Shao <[email protected]> Signed-off-by: Jiri Olsa <[email protected]> Acked-by: Song Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h index 181e744..287d057 100644 --- a/include/uapi/linux/bpf.h +++ b/include/uapi/linux/bpf.h
@@ -6563,6 +6563,7 @@ __u32 count; /* in/out: kprobe_multi function count */ __u32 flags; __u64 missed; + __aligned_u64 cookies; } kprobe_multi; struct { __aligned_u64 path;