aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorZheng Yejian <zhengyejian1@huawei.com>2023-07-05 08:27:05 +0800
committerSteven Rostedt (Google) <rostedt@goodmis.org>2023-07-30 18:11:45 -0400
commit6d98a0f2ac3c021d21be66fa34e992137cd25bcb (patch)
tree86686009020c1ca955944e4c40d5af07aff6b40c /tools/perf/scripts/python/syscall-counts.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/20230705002705.576633-1-zhengyejian1@huawei.com Cc: <mhiramat@kernel.org> Signed-off-by: Zheng Yejian <zhengyejian1@huawei.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions