Commit 91ae08a2 authored by Masami Hiramatsu's avatar Masami Hiramatsu Committed by Shuah Khan (Samsung OSG)

selftests/ftrace: Add stacktrace ftrace filter command testcase

Add a test case for stacktrace filter command for ftrace.
Signed-off-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: default avatarShuah Khan (Samsung OSG) <shuah@kernel.org>
parent 174fd823
#!/bin/sh
# SPDX-License-Identifier: GPL2.0
# description: ftrace - stacktrace filter command
# flags: instance
echo _do_fork:stacktrace >> set_ftrace_filter
grep -q "_do_fork:stacktrace:unlimited" set_ftrace_filter
(echo "forked"; sleep 1)
grep -q "<stack trace>" trace
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment