linux/tools/testing/selftests/ftrace/test.d
Steven Rostedt 4ee5ca9a29 ftrace/selftest: Test combination of function_graph tracer and function profiler
Masami reported a bug when running function graph tracing then the
function profiler. The following commands would cause a kernel crash:

  # cd /sys/kernel/tracing/
  # echo function_graph > current_tracer
  # echo 1 > function_profile_enabled

In that order. Create a test to test this two to make sure this does not
come back as a regression.

Link: https://lore.kernel.org/172398528350.293426.8347220120333730248.stgit@devnote2

Link: https://lore.kernel.org/all/20241010165235.35122877@gandalf.local.home/
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2024-10-11 15:05:16 -06:00
..
00basic selftests/ftrace: Fix eventfs ownership testcase to find mount point 2024-09-04 15:08:18 -06:00
direct selftests/ftrace: Convert required interface checks into requires list 2020-06-16 10:39:20 -06:00
dynevent Probes updates for v6.12: 2024-09-26 08:55:36 -07:00
event selftests/ftrace: Limit length in subsystem-enable tests 2024-04-04 10:29:10 -06:00
filter selftests/tracing: Fix event filter test to retry up to 10 times 2024-05-31 08:35:43 -06:00
ftrace ftrace/selftest: Test combination of function_graph tracer and function profiler 2024-10-11 15:05:16 -06:00
instances selftests/ftrace: Correctly enable event in instance-event.tc 2023-09-05 16:41:28 -06:00
kprobe selftests/ftrace: Add required dependency for kprobe tests 2024-08-14 05:41:26 -06: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 selftest: ftrace: fix minor typo in log 2024-02-20 17:27:50 -07:00
functions selftests/ftrace: Add check for ping command for trigger tests 2022-10-28 02:01:11 -06:00
template selftests/ftrace: Support ":README" suffix for requires 2020-06-16 10:42:47 -06:00