Documentation: describe trace_buf_size parameter more accurately
authorJoonsoo Kim <iamjoonsoo.kim@lge.com>
Wed, 3 Dec 2014 01:39:20 +0000 (10:39 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 3 Dec 2014 22:10:11 +0000 (17:10 -0500)
I'm stuck into panic that too litte free memory is left when I boot with
trace_buf_size parameter. After digging into the problem, I found that
trace_buf_size is the size of trace buffer on each cpu rather than total
size of trace buffer. To prevent victim like me, change description of
trace_buf_size parameter more accurately.

Link: http://lkml.kernel.org/r/1417570760-10620-1-git-send-email-iamjoonsoo.kim@lge.com
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Documentation/kernel-parameters.txt

index 7dbe5ec9d9cd08afac13797e2adac291fb703eec..1d09eb37c562f94a9de306c25349f79b378314de 100644 (file)
@@ -3477,7 +3477,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
                        are saved.
 
        trace_buf_size=nn[KMG]
-                       [FTRACE] will set tracing buffer size.
+                       [FTRACE] will set tracing buffer size on each cpu.
 
        trace_event=[event-list]
                        [FTRACE] Set and start specified trace events in order