From: Alexei Starovoitov Date: Tue, 25 Oct 2022 17:14:51 +0000 (-0700) Subject: Merge branch 'bpf: Fixes for kprobe multi on kernel modules' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=31af1aa09fb9b31694a4bad7e49204c75fb6f7dc;p=linux.git 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 --- 31af1aa09fb9b31694a4bad7e49204c75fb6f7dc