On Thu, Jun 05, 2025 at 12:37:22AM +0800, Tao Chen wrote: SNIP > +static void bpf_perf_link_fdinfo_uprobe(const struct perf_event *event, > + struct seq_file *seq) > +{ > + const char *name; > + int err; > + u32 prog_id, type; > + u64 offset, addr; > + unsigned long missed; > + > + err = bpf_get_perf_event_info(event, &prog_id, &type, &name, > + &offset, &addr, &missed); hi, addr now gets ref_ctr_offset: 823153334042 bpf: Add support to retrieve ref_ctr_offset for uprobe perf link so let's display that thanks, jirka > + if (err) > + return; > + > + if (type == BPF_FD_TYPE_URETPROBE) > + type = BPF_PERF_EVENT_URETPROBE; > + else > + type = BPF_PERF_EVENT_UPROBE; > + > + seq_printf(seq, > + "name:\t%s\n" > + "offset:\t%llu\n" > + "event_type:\t%u\n" > + "cookie:\t%llu\n", > + name, offset, type, event->bpf_cookie); > + > +} > #endif > SNIP