trace: Remove outdated ring buffer comment
PATCH 1/1 trace: Remove outdated ring buffer comment
The comment about ring buffer's organization is outdated and the code sits elsewhere, remove the comment.
Cc Steven Rostedt <[email protected]>
Signed-off-by Joel Fernandes <[email protected]>
--- kernel/trace/trace.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-)
kernel/trace/trace.c +2 -10
@@ -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 ,
Signature · 1 line
2.11.0.483.g087da7b7c-goog