diff options
author | Yafang Shao <laoar.shao@gmail.com> | 2023-03-05 12:46:03 +0000 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-03-07 09:33:42 -0800 |
commit | 2e89caf055a64cb531cbd8ab7a01c3e9b0b3133d (patch) | |
tree | 45676b15505288c093f044becb5b318c7f857816 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cbb9b6068c68332eefb0ef4c0ebf6f96c35d9bde (diff) |
bpf: reuseport_array memory usage
A new helper is introduced to calculate reuseport_array memory usage.
The result as follows,
- before
14: reuseport_sockarray name count_map flags 0x0
key 4B value 8B max_entries 65536 memlock 1048576B
- after
14: reuseport_sockarray name count_map flags 0x0
key 4B value 8B max_entries 65536 memlock 524544B
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Link: https://lore.kernel.org/r/20230305124615.12358-7-laoar.shao@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions