[PATCH 5.10.y 0/4] Backport fix commit for kprobe_non_uniq_symbol.tc test failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux