OSDN Git Service

doc: tracing: Fix a typo of trace_stat
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 26 Jul 2018 12:43:36 +0000 (21:43 +0900)
committerJonathan Corbet <corbet@lwn.net>
Thu, 26 Jul 2018 21:48:10 +0000 (15:48 -0600)
The name of the directory for per-cpu function statistics
is trace_stat, not trace_stats.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/trace/ftrace.rst
kernel/trace/Kconfig

index a20d349..7ea16a0 100644 (file)
@@ -329,9 +329,9 @@ of ftrace. Here is a list of some of the key files:
        track of the time spent in those functions. The histogram
        content can be displayed in the files:
 
-       trace_stats/function<cpu> ( function0, function1, etc).
+       trace_stat/function<cpu> ( function0, function1, etc).
 
-  trace_stats:
+  trace_stat:
 
        A directory that holds different tracing stats.
 
index 2bd4a91..9a27f14 100644 (file)
@@ -521,7 +521,7 @@ config FUNCTION_PROFILER
          in debugfs called function_profile_enabled which defaults to zero.
          When a 1 is echoed into this file profiling begins, and when a
          zero is entered, profiling stops. A "functions" file is created in
-         the trace_stats directory; this file shows the list of functions that
+         the trace_stat directory; this file shows the list of functions that
          have been hit and their counters.
 
          If in doubt, say N.