linux/tools/testing/selftests/ftrace/test.d
Masami Hiramatsu (Google) 85e0f27dd1 tracing/probes: Point the error offset correctly for eprobe argument error
Fix to point the error offset correctly for eprobe argument error.
In the cleanup commit 1b8b0cd754 ("tracing/probes: Move event parameter
fetching code to common parser"), due to incorrect backward compatibility
aimed at conforming to the test specifications, the error location was set
to 0 when a non-existent formal parameter was specified for Eprobe.
However, this should be corrected in both the test and the implementation
to point correct error position.

Link: https://lore.kernel.org/all/177967567399.209006.1451571244515632097.stgit@devnote2/

Fixes: 1b8b0cd754 ("tracing/probes: Move event parameter fetching code to common parser")
Cc: stable@vger.kernel.org
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
2026-05-30 22:45:50 +09:00
..
00basic selftests/tracing: Fix to check awk supports non POSIX strtonum() 2026-03-31 13:06:24 -06:00
direct selftests/ftrace: Convert required interface checks into requires list 2020-06-16 10:39:20 -06:00
dynevent tracing/probes: Point the error offset correctly for eprobe argument error 2026-05-30 22:45:50 +09:00
event selftests/ftrace: Test toplevel-enable for instance 2025-12-31 12:46:12 -07:00
filter selftests/tracing: Run sample events to clear page cache events 2025-11-10 18:00:07 -07:00
ftrace selftests/ftrace: traceonoff_triggers: strip off names 2025-12-31 12:45:25 -07:00
instances selftests/ftrace: Correctly enable event in instance-event.tc 2023-09-05 16:41:28 -06:00
kprobe selftests/ftrace: adjust offset for kprobe syntax error test 2024-12-11 10:08:04 -07:00
preemptirq selftests: ftrace: Use "grep -E" instead of "egrep" 2022-11-25 10:57:32 -07:00
remotes tracing: selftests: Extend hotplug testing for trace remotes 2026-04-02 14:16:09 +01:00
selftest selftests/ftrace: Add checkbashisms meta-testcase 2019-05-24 13:38:29 -06:00
tracer selftests/ftrace: Convert tracer tests to use 'requires' to specify program dependency 2022-10-28 02:01:17 -06:00
trigger selftests/ftrace: Add test case for fully-qualified variable references 2026-04-14 05:28:38 -04:00
functions selftests/ftrace: Quote check_requires comparisons 2026-04-13 11:05:39 -06:00
template selftests/ftrace: Support ":README" suffix for requires 2020-06-16 10:42:47 -06:00