Skip to content

Commit 4b96469

Browse files
olsajiriqmonnet
authored andcommitted
bpf: Add support to retrieve ref_ctr_offset for uprobe perf link
Adding support to retrieve ref_ctr_offset for uprobe perf link, which got somehow omitted from the initial uprobe link info changes. Signed-off-by: Jiri Olsa <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Yafang Shao <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
1 parent 35cab59 commit 4b96469

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/uapi/linux/bpf.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6724,6 +6724,7 @@ struct bpf_link_info {
67246724
__u32 name_len;
67256725
__u32 offset; /* offset from file_name */
67266726
__u64 cookie;
6727+
__u64 ref_ctr_offset;
67276728
} uprobe; /* BPF_PERF_EVENT_UPROBE, BPF_PERF_EVENT_URETPROBE */
67286729
struct {
67296730
__aligned_u64 func_name; /* in/out */

0 commit comments

Comments
 (0)