summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorYafang Shao <laoar.shao@gmail.com>2023-03-05 15:46:12 +0300
committerAlexei Starovoitov <ast@kernel.org>2023-03-07 20:33:43 +0300
commit73d2c61919e9aeffad1b826ec23b1a4a07c1e0dd (patch)
treef89e1cba1f765b1724cd07292174a9328478ebbd /tools/perf/scripts/python/exported-sql-viewer.py
parent7490b7f1c02ef825ef98f7230662049d4a464a21 (diff)
downloadlinux-73d2c61919e9aeffad1b826ec23b1a4a07c1e0dd.tar.xz
bpf, net: sock_map memory usage
sockmap and sockhash don't have something in common in allocation, so let's introduce different helpers to calculate their memory usage. The reuslt as follows, - before 28: sockmap name count_map flags 0x0 key 4B value 4B max_entries 65536 memlock 524288B 29: sockhash name count_map flags 0x0 key 4B value 4B max_entries 65536 memlock 524288B - after 28: sockmap name count_map flags 0x0 key 4B value 4B max_entries 65536 memlock 524608B 29: sockhash name count_map flags 0x0 <<<< no updated elements key 4B value 4B max_entries 65536 memlock 1048896B Signed-off-by: Yafang Shao <laoar.shao@gmail.com> Link: https://lore.kernel.org/r/20230305124615.12358-16-laoar.shao@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions