Message ID | 20210721215810.889975-1-jolsa@kernel.org (mailing list archive) |
---|---|
Headers | show |
Series | libbpf: Export bpf_program__attach_kprobe_opts function | expand |
On Wed, 21 Jul 2021, Jiri Olsa wrote: > hi, > making bpf_program__attach_kprobe_opts function exported, > and other fixes suggested by Andrii in recent review [1][2]. > Looks great! Feel free to add Reviewed-by: Alan Maguire <alan.maguire@oracle.com> Tested-by: Alan Maguire <alan.maguire@oracle.com> > 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(-) > >