提交 991821c8 编写于 作者: Z zhangwei(Jovi) 提交者: Steven Rostedt

tracing: Use correct config guard CONFIG_STACK_TRACER

We should use CONFIG_STACK_TRACER to guard readme text
of stack tracer related file, not CONFIG_STACKTRACE.

Link: http://lkml.kernel.org/r/51E3B3A2.8080609@huawei.comSigned-off-by: Nzhangwei(Jovi) <jovi.zhangwei@huawei.com>
Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
上级 ad81f054
...@@ -3537,14 +3537,14 @@ static const char readme_msg[] = ...@@ -3537,14 +3537,14 @@ static const char readme_msg[] =
"\n snapshot\t\t- Like 'trace' but shows the content of the static snapshot buffer\n" "\n snapshot\t\t- Like 'trace' but shows the content of the static snapshot buffer\n"
"\t\t\t Read the contents for more information\n" "\t\t\t Read the contents for more information\n"
#endif #endif
#ifdef CONFIG_STACKTRACE #ifdef CONFIG_STACK_TRACER
" stack_trace\t\t- Shows the max stack trace when active\n" " stack_trace\t\t- Shows the max stack trace when active\n"
" stack_max_size\t- Shows current max stack size that was traced\n" " stack_max_size\t- Shows current max stack size that was traced\n"
"\t\t\t Write into this file to reset the max size (trigger a new trace)\n" "\t\t\t Write into this file to reset the max size (trigger a new trace)\n"
#ifdef CONFIG_DYNAMIC_FTRACE #ifdef CONFIG_DYNAMIC_FTRACE
" stack_trace_filter\t- Like set_ftrace_filter but limits what stack_trace traces\n" " stack_trace_filter\t- Like set_ftrace_filter but limits what stack_trace traces\n"
#endif #endif
#endif /* CONFIG_STACKTRACE */ #endif /* CONFIG_STACK_TRACER */
; ;
static ssize_t static ssize_t
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册