History

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.

Jiri Olsa committed 2 years ago

Commit 9fd112b1 parent d5c16493 files · +17 −0Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/linux/bpf.h+1−0
@@ -6563,6 +6563,7 @@ struct bpf_link_info { · 6562 unmodified lines
65636563 __u32 count; /* in/out: kprobe_multi function count */
65646564 __u32 flags;
65656565 __u64 missed;
6566+ __aligned_u64 cookies;
65666567 } kprobe_multi;
65676568 struct {
65686569 __aligned_u64 path;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t