public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 5.10.y 0/4] Backport fix commit for kprobe_non_uniq_symbol.tc test failure
@ 2024-10-08 22:29 Sherry Yang
  2024-10-08 22:29 ` [PATCH 5.10.y 1/4] kallsyms: Make kallsyms_on_each_symbol generally available Sherry Yang
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Sherry Yang @ 2024-10-08 22:29 UTC (permalink / raw)
  To: stable
  Cc: sashal, jeyu, rostedt, mingo, ast, jolsa, mhiramat, sherry.yang,
	flaniel

5.10.y backported the commit 
09bcf9254838 ("selftests/ftrace: Add new test case which checks non unique symbol")
which added a new test case to check non-unique symbol. However, 5.10.y
didn't backport the kernel commit 
b022f0c7e404 ("tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols")to support the functionality from kernel side. Backport it in this patch series.

The first two patches are presiquisites. The 4th commit is a fix commit
for the 3rd one.

Build and test case passed.
[73] Test failure of registering kprobe on non unique symbol
	[PASS]

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

Francis Laniel (1):
  tracing/kprobes: Return EADDRNOTAVAIL when func matches several
    symbols

Jiri Olsa (2):
  kallsyms: Make kallsyms_on_each_symbol generally available
  kallsyms: Make module_kallsyms_on_each_symbol generally available

 include/linux/kallsyms.h    |  7 +++-
 include/linux/module.h      |  9 +++++
 kernel/kallsyms.c           |  2 -
 kernel/module.c             |  2 -
 kernel/trace/trace_kprobe.c | 76 +++++++++++++++++++++++++++++++++++++
 kernel/trace/trace_probe.h  |  1 +
 6 files changed, 92 insertions(+), 5 deletions(-)

-- 
2.46.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-10-11 12:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-08 22:29 [PATCH 5.10.y 0/4] Backport fix commit for kprobe_non_uniq_symbol.tc test failure Sherry Yang
2024-10-08 22:29 ` [PATCH 5.10.y 1/4] kallsyms: Make kallsyms_on_each_symbol generally available Sherry Yang
2024-10-08 22:29 ` [PATCH 5.10.y 2/4] kallsyms: Make module_kallsyms_on_each_symbol " Sherry Yang
2024-10-08 22:29 ` [PATCH 5.10.y 3/4] tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols Sherry Yang
2024-10-08 22:29 ` [PATCH 5.10.y 4/4] tracing/kprobes: Fix symbol counting logic by looking at modules as well Sherry Yang
2024-10-09 13:36 ` [PATCH 5.10.y 0/4] Backport fix commit for kprobe_non_uniq_symbol.tc test failure Greg KH
2024-10-09 14:44   ` Steven Rostedt
2024-10-09 16:21   ` Sasha Levin
2024-10-10 16:11   ` Sherry Yang
2024-10-11 11:30     ` Francis Laniel
2024-10-11 12:13       ` Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox