Re: [PATCH v3] ftrace/selftest: Test combination of function_graph tracer and function profiler

From: Shuah Khan
Date: Thu Oct 10 2024 - 17:24:38 EST


On 10/10/24 14:52, Steven Rostedt wrote:
From: Steven Rostedt <rostedt@xxxxxxxxxxx>

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

Acked-by: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
Signed-off-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>
---
Changes since v2: https://lore.kernel.org/20241004145618.18436d7e@xxxxxxxxxxxxxxxxxx

- Fixed grammar of comment


Thank you. Applied to linux-kselftest fixes for next rc.

thanks,
-- Shuah