Skip to content

tracing/kprobes: Fix symbol counting logic by looking at modules as well

Markus Boehme stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kallsyms: Make module_kallsyms_on_each_symbol generally availableinclude/linux/module.h kernel/module.c+9 -20 replies
2/2tracing/kprobes: Fix symbol counting logic by looking at modules as wellkernel/trace/trace_kprobe.c+2 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSong Liu
1/2A-b
2/2A-b

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 5.15 0/2] tracing/kprobes: Fix symbol counting logic by looking at modules as well

This backports the fix to the kprobe_events interface allowing to create kprobes on symbols defined in loadable modules again. The backport is simpler than ones for later kernels, since the backport of the commit introducing the bug already brought along much of the code needed to fix it.

Andrii Nakryiko (1):
tracing/kprobes: Fix symbol counting logic by looking at modules as
well

Jiri Olsa (1):
kallsyms: Make module_kallsyms_on_each_symbol generally available

 include/linux/module.h      | 9 +++++++++
 kernel/module.c             | 2 --
 kernel/trace/trace_kprobe.c | 2 ++
 3 files changed, 11 insertions(+), 2 deletions(-)
Signature · 1 line
2.40.1