diff options
author | Alexei Starovoitov <ast@kernel.org> | 2022-10-25 19:14:51 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-10-25 19:14:51 +0200 |
commit | 31af1aa09fb9b31694a4bad7e49204c75fb6f7dc (patch) | |
tree | b05ceb3a545093b8c8526ecd065b38e352853be2 /tools/lib | |
parent | Merge branch 'bpftool: Add LLVM as default library for disassembling JIT-ed p... (diff) | |
parent | selftests/bpf: Add kprobe_multi kmod attach api tests (diff) | |
download | linux-31af1aa09fb9b31694a4bad7e49204c75fb6f7dc.tar.xz linux-31af1aa09fb9b31694a4bad7e49204c75fb6f7dc.zip |
Merge branch 'bpf: Fixes for kprobe multi on kernel modules'
Jiri Olsa says:
====================
hi,
Martynas reported kprobe _multi link does not resolve symbols
from kernel modules, which attach by address works.
In addition while fixing that I realized we do not take module
reference if the module has kprobe_multi link on top of it and
can be removed.
There's mo crash related to this, it will silently disappear from
ftrace tables, while kprobe_multi link stays up with no data.
This patchset has fixes for both issues.
v3 changes:
- reorder fields in struct bpf_kprobe_multi_link [Andrii]
- added ack [Andrii]
v2 changes:
- added acks (Song)
- added comment to kallsyms_callback (Song)
- change module_callback realloc logic (Andrii)
- get rid of macros in tests (Andrii)
thanks,
jirka
====================
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions