]> sourceware.org Git - systemtap.git/commit
PR28557: module probe insertion on modern kernels
authorFrank Ch. Eigler <fche@redhat.com>
Sun, 14 Nov 2021 21:28:12 +0000 (16:28 -0500)
committerFrank Ch. Eigler <fche@redhat.com>
Sun, 14 Nov 2021 21:30:32 +0000 (16:30 -0500)
commit0425c60d7eed27437c5f83d79612786e50aed8ba
tree6a5593afae13f90400d4509a7b140e9241f5fe1b
parent9813679b6488343f6a4600b77ed210dad68d1c5d
PR28557: module probe insertion on modern kernels

For reasons not completely understood, kernels in the 5.* range have
stopped taking module kprobes registrations of the form the runtime
has offered them.  New code in runtime/linux/kprobes.c
(stapkp_prepare_kprobe) now tried to fully relocate addresses itself,
rather than letting the kernel try it with symbols / kallsyms.

Added more diagnostic prints in nearby symbol/kprobe code paths and a
few more error checks in transport.
runtime/linux/kprobes.c
runtime/sym.c
runtime/transport/control.c
runtime/transport/symbols.c
This page took 0.026208 seconds and 5 git commands to generate.