diff options
| author | Joel Fernandes <joelaf@google.com> | 2017-02-16 23:10:58 -0500 |
|---|---|---|
| committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-02-17 09:56:51 -0500 |
| commit | 67d04bb2bcbd3e99f4c4daa58599c90a83ad314a (patch) | |
| tree | 0552148760a0551fdbc6bd227275ba05b59294f8 | |
| parent | bef5da60595f5706232e2502876f8545743b9b41 (diff) | |
tracing: Remove outdated ring buffer comment
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>
| -rw-r--r-- | kernel/trace/trace.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 4589b67168fc..54e3b8711aca 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
| @@ -260,16 +260,8 @@ unsigned long long ns2usecs(u64 nsec) | |||
| 260 | TRACE_ITER_EVENT_FORK | 260 | TRACE_ITER_EVENT_FORK |
| 261 | 261 | ||
| 262 | /* | 262 | /* |
| 263 | * The global_trace is the descriptor that holds the tracing | 263 | * The global_trace is the descriptor that holds the top-level tracing |
| 264 | * buffers for the live tracing. For each CPU, it contains | 264 | * buffers for the live tracing. |
| 265 | * a link list of pages that will store trace entries. The | ||
| 266 | * page descriptor of the pages in the memory is used to hold | ||
| 267 | * the link list by linking the lru item in the page descriptor | ||
| 268 | * to each of the pages in the buffer per CPU. | ||
| 269 | * | ||
| 270 | * For each active CPU there is a data field that holds the | ||
| 271 | * pages for the buffer for that CPU. Each CPU has the same number | ||
| 272 | * of pages allocated for its buffer. | ||
| 273 | */ | 265 | */ |
| 274 | static struct trace_array global_trace = { | 266 | static struct trace_array global_trace = { |
| 275 | .trace_flags = TRACE_DEFAULT_FLAGS, | 267 | .trace_flags = TRACE_DEFAULT_FLAGS, |
