aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorZheng Yejian <[email protected]>2023-07-05 08:27:05 +0800
committerSteven Rostedt (Google) <[email protected]>2023-07-30 18:11:45 -0400
commit6d98a0f2ac3c021d21be66fa34e992137cd25bcb (patch)
tree86686009020c1ca955944e4c40d5af07aff6b40c /tools/perf/scripts/python/task-analyzer.py
parent6bba92881de9dde4c07cbb24b5691eb6eb9495f2 (diff)
tracing: Set actual size after ring buffer resize
Currently we can resize trace ringbuffer by writing a value into file 'buffer_size_kb', then by reading the file, we get the value that is usually what we wrote. However, this value may be not actual size of trace ring buffer because of the round up when doing resize in kernel, and the actual size would be more useful. Link: https://lore.kernel.org/linux-trace-kernel/[email protected] Cc: <[email protected]> Signed-off-by: Zheng Yejian <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions