Skip to content

bpf: Retrieve ref_ctr_offset from uprobe perf link

Jiri Olsa bpf linux-perf-users 2 versions – Applied

Status from this message: This series was applied to bpf/bpf-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesApplied 3/3
  2. v13 patches 10 repliesSuperseded

Changes in v2 from the cover letter

- display ref_ctr_offset as hex number [Andrii]
- added acks

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3bpf: Add support to retrieve ref_ctr_offset for uprobe perf linkinclude/uapi/linux/bpf.h kernel/bpf/syscall.c kernel/trace/trace_uprobe.c +1 more+6 -30 repliesApplied
2/3selftests/bpf: Add link info test for ref_ctr_offset retrievaltools/testing/selftests/bpf/prog_tests/fill_link_info.c+16 -20 repliesApplied
3/3bpftool: Display ref_ctr_offset for uprobe link infotools/bpf/bpftool/link.c+3 -00 repliesApplied

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchYafang Shao
1/3A-b
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCHv2 bpf-next 0/3] bpf: Retrieve ref_ctr_offset from uprobe perf link

hi,
adding ref_ctr_offset retrieval for uprobe perf link info.

v2 changes:
- display ref_ctr_offset as hex number [Andrii]
- added acks

thanks,
jirka

---
Jiri Olsa (3):
bpf: Add support to retrieve ref_ctr_offset for uprobe perf link selftests/bpf: Add link info test for ref_ctr_offset retrieval
bpftool: Display ref_ctr_offset for uprobe link info

 include/uapi/linux/bpf.h                                |  1 +
 kernel/bpf/syscall.c                                    |  5 +++--
 kernel/trace/trace_uprobe.c                             |  2 +-
 tools/bpf/bpftool/link.c                                |  3 +++
 tools/include/uapi/linux/bpf.h                          |  1 +
 tools/testing/selftests/bpf/prog_tests/fill_link_info.c | 18 ++++++++++++++++--
 6 files changed, 25 insertions(+), 5 deletions(-)