aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <[email protected]>2023-12-20 08:10:28 -0500
committerSteven Rostedt (Google) <[email protected]>2024-01-09 22:54:37 -0500
commit25742aeb135c4a44e92fb347e037adaa145b9484 (patch)
tree5c6474657fde3b9ee0747e380aad3e22f4c19447 /scripts/gdb/linux/utils.py
parent4f1991a92cfe89096b2d1f5583a2e093bdd55c37 (diff)
ring-buffer: Remove stale comment from ring_buffer_size()
It's been 11 years since the ring_buffer_size() function was updated to use the nr_pages from the buffer->buffers[cpu] structure instead of using the buffer->nr_pages that no longer exists. The comment in the code is more of what a change log should have and is pretty much useless for development. It's saying how things worked back in 2012 that bares no purpose on today's code. Remove it. Link: https://lore.kernel.org/linux-trace-kernel/[email protected]/ Link: https://lore.kernel.org/linux-trace-kernel/[email protected] Cc: Mark Rutland <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Reported-by: David Laight <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]> Acked-by: Masami Hiramatsu (Google) <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions