Skip to content

libbpf: Export bpf_program__attach_kprobe_opts function

Jiri Olsa bpf netdev 1 version Applied

Status from this message: Pushed to bpf-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3libbpf: Fix func leak in attach_kprobetools/lib/bpf/libbpf.c+1 -01 reply
2/3libbpf: Allow decimal offset for kprobestools/lib/bpf/libbpf.c tools/testing/selftests/bpf/prog_tests/get_func_ip_test.c tools/testing/selftests/bpf/progs/get_func_ip_test.c+14 -10 replies
3/3libbpf: Export bpf_program__attach_kprobe_opts functiontools/lib/bpf/libbpf.c tools/lib/bpf/libbpf.h tools/lib/bpf/libbpf.map+32 -141 reply

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAlan Maguire
SeriesR-b T-b
1/3
2/3
3/3

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

Read the v1 thread

Cover letter [PATCH bpf-next 0/3] libbpf: Export bpf_program__attach_kprobe_opts function

hi,
making bpf_program__attach_kprobe_opts function exported, and other fixes suggested by Andrii in recent review [1][2].

thanks,
jirka

[1] https://lore.kernel.org/bpf/CAEf4BzYELMgTv_RhW7qWNgOYc_mCyh8-VX0FUYabi_TU3OiGKw@mail.gmail.com/
[2] https://lore.kernel.org/bpf/CAEf4Bzbk-nyenpc86jtEShset_ZSkapvpy3fG2gYKZEOY7uAQg@mail.gmail.com/

---
Jiri Olsa (3):
libbpf: Fix func leak in attach_kprobe
libbpf: Allow decimal offset for kprobes
libbpf: Export bpf_program__attach_kprobe_opts function

 tools/lib/bpf/libbpf.c                                    | 34 +++++++++++++++++++---------------
 tools/lib/bpf/libbpf.h                                    | 14 ++++++++++++++
 tools/lib/bpf/libbpf.map                                  |  1 +
 tools/testing/selftests/bpf/prog_tests/get_func_ip_test.c |  2 ++
 tools/testing/selftests/bpf/progs/get_func_ip_test.c      | 11 +++++++++++
 5 files changed, 47 insertions(+), 15 deletions(-)