]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
tracing: Remove outdated ring buffer comment
authorJoel Fernandes <joelaf@google.com>
Fri, 17 Feb 2017 04:10:58 +0000 (20:10 -0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 17 Feb 2017 14:56:51 +0000 (09:56 -0500)
The comment about ring buffer's organization is outdated and the code sits
elsewhere, remove the comment.
Link: http://lkml.kernel.org/r/20170217041058.23904-1-joelaf@google.com
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Joel Fernandes <joelaf@google.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace.c

index 4589b67168fc04d39305290fa7562e46b24e31e0..54e3b8711aca0cecc0eea79b9bf3b7895eebdcca 100644 (file)
@@ -260,16 +260,8 @@ unsigned long long ns2usecs(u64 nsec)
        TRACE_ITER_EVENT_FORK
 
 /*
- * The global_trace is the descriptor that holds the tracing
- * buffers for the live tracing. For each CPU, it contains
- * a link list of pages that will store trace entries. The
- * page descriptor of the pages in the memory is used to hold
- * the link list by linking the lru item in the page descriptor
- * to each of the pages in the buffer per CPU.
- *
- * For each active CPU there is a data field that holds the
- * pages for the buffer for that CPU. Each CPU has the same number
- * of pages allocated for its buffer.
+ * The global_trace is the descriptor that holds the top-level tracing
+ * buffers for the live tracing.
  */
 static struct trace_array global_trace = {
        .trace_flags = TRACE_DEFAULT_FLAGS,