From b15bc24ec9fa274442a8973235c6518934aab310 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Tue, 14 Oct 2008 14:15:43 +0200 Subject: [PATCH] --- yaml --- r: 116691 b: refs/heads/master c: 4519d9e54dcd273975ad0adebad2a08c20428029 h: refs/heads/master i: 116689: a5db6ec2f9ee00657429739604a522cd8f7b3a47 116687: f05ad235ce0836d1a3ef8a529a0ebc0769e03f98 v: v3 --- [refs] | 2 +- trunk/kernel/trace/Kconfig | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 9c6d1066d23c..192fe771c989 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 07d1890420cce95c577736e4d67f70cbd39845fe +refs/heads/master: 4519d9e54dcd273975ad0adebad2a08c20428029 diff --git a/trunk/kernel/trace/Kconfig b/trunk/kernel/trace/Kconfig index 396aea11398e..11fd03a429f0 100644 --- a/trunk/kernel/trace/Kconfig +++ b/trunk/kernel/trace/Kconfig @@ -141,8 +141,17 @@ config STACK_TRACER select FTRACE select STACKTRACE help - This tracer records the max stack of the kernel, and displays - it in debugfs/tracing/stack_trace + This special tracer records the maximum stack footprint of the + kernel and displays it in debugfs/tracing/stack_trace. + + This tracer works by hooking into every function call that the + kernel executes, and keeping a maximum stack depth value and + stack-trace saved. Because this logic has to execute in every + kernel function, all the time, this option can slow down the + kernel measurably and is generally intended for kernel + developers only. + + Say N if unsure. config DYNAMIC_FTRACE bool "enable/disable ftrace tracepoints dynamically"