aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorYafang Shao <[email protected]>2023-03-05 12:46:04 +0000
committerAlexei Starovoitov <[email protected]>2023-03-07 09:33:42 -0800
commit2f7e4ab2caa9a692ffc843f801cea90632cdc782 (patch)
treefe03c4fc38fad736eae66ca562ec86c4c40b2226 /tools/perf/scripts/python/task-analyzer.py
parent2e89caf055a64cb531cbd8ab7a01c3e9b0b3133d (diff)
bpf: ringbuf memory usage
A new helper ringbuf_map_mem_usage() is introduced to calculate ringbuf memory usage. The result as follows, - before 15: ringbuf name count_map flags 0x0 key 0B value 0B max_entries 65536 memlock 0B - after 15: ringbuf name count_map flags 0x0 key 0B value 0B max_entries 65536 memlock 78424B Signed-off-by: Yafang Shao <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions