Messages in this thread | | | Date | Sat, 21 Oct 2023 19:01:24 +0900 | From | Masami Hiramatsu (Google) <> | Subject | [GIT PULL] 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
-- Masami Hiramatsu (Google) <mhiramat@kernel.org>
| |