probes: fixes for v6.6-rc6.2
Hi Linus,
Probes fixes for v6.6-rc6.2:
- kprobe-events: Fix kprobe events to reject if the attached symbol is not unique name because it may not the function which the user want to attach to. (User can attach a probe to such symbol using the nearest unique symbol + offset.)
- selftest: Add a testcase to ensure the kprobe event rejects non unique symbol correctly.
Please pull the latest probes-fixes-v6.6-rc6.2 tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
probes-fixes-v6.6-rc6.2
Tag SHA1: d6e0322d9de05369d84aa0e8acc0c03978b50a40 Head SHA1: 03b80ff8023adae6780e491f66e932df8165e3a0
Francis Laniel (2):
tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols selftests/ftrace: Add new test case which checks non unique symbol
----
kernel/trace/trace_kprobe.c | 63 ++++++++++++++++++++++ kernel/trace/trace_probe.h | 1 + .../ftrace/test.d/kprobe/kprobe_non_uniq_symbol.tc | 13 +++++ 3 files changed, 77 insertions(+) create mode 100644 tools/testing/selftests/ftrace/test.d/kprobe/kprobe_non_uniq_symbol.tc
Signature · 1 line
Masami Hiramatsu (Google) <[email protected]>
The pull request you sent on Sat, 21 Oct 2023 19:01:24 +0900:
The pull request you sent on Sat, 21 Oct 2023 19:01:24 +0900:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.gitprobes-fixes-v6.6-rc6.2
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/023cc836053539148ffd015d3938887ef19af1cd
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html