mirror-linux/tools/testing/selftests/ftrace/test.d
Steven Rostedt e85c5e9792 selftests/ftrace: Update fprobe test to check enabled_functions file
A few bugs were found in the fprobe accounting logic along with it using
the function graph infrastructure. Update the fprobe selftest to catch
those bugs in case they or something similar shows up in the future.

The test now checks the enabled_functions file which shows all the
functions attached to ftrace or fgraph. When enabling a fprobe, make sure
that its corresponding function is also added to that file. Also add two
more fprobes to enable to make sure that the fprobe logic works properly
with multiple probes.

Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Sven Schnelle <svens@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Link: https://lore.kernel.org/20250220202055.733001756@goodmis.org
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Tested-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
2025-02-21 09:36:12 -05:00
..
00basic selftests/ftrace: Fix to use remount when testing mount GID option 2025-01-14 17:06:32 -07:00
direct selftests/ftrace: Convert required interface checks into requires list 2020-06-16 10:39:20 -06:00
dynevent selftests/ftrace: Update fprobe test to check enabled_functions file 2025-02-21 09:36:12 -05:00
event selftests/ftrace: Add test that tests event :mod: commands 2025-01-16 09:41:50 -05:00
filter selftests/tracing: Fix event filter test to retry up to 10 times 2024-05-31 08:35:43 -06:00
ftrace ftrace updates for v6.13: 2024-11-20 11:34:10 -08: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
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/tracing: Add hist poll() support test 2025-01-07 11:48:07 -05:00
functions tracing/selftests: Add tracefs mount options test 2024-11-01 08:57:55 -04:00
template selftests/ftrace: Support ":README" suffix for requires 2020-06-16 10:42:47 -06:00