summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorYafang Shao <laoar.shao@gmail.com>2023-03-05 15:46:09 +0300
committerAlexei Starovoitov <ast@kernel.org>2023-03-07 20:33:43 +0300
commitf062226d8d59b521ddc946ad791048188a16722a (patch)
tree1dc15a70b15ca6d2c213167b995eda0cb673a823 /tools/perf/scripts/python/export-to-sqlite.py
parentc6e66b42a348125fd41131de75f84fa67b6579ce (diff)
downloadlinux-f062226d8d59b521ddc946ad791048188a16722a.tar.xz
bpf: bpf_struct_ops memory usage
A new helper is introduced to calculate bpf_struct_ops memory usage. The result as follows, - before 1: struct_ops name count_map flags 0x0 key 4B value 256B max_entries 1 memlock 4096B btf_id 73 - after 1: struct_ops name count_map flags 0x0 key 4B value 256B max_entries 1 memlock 5016B btf_id 73 Signed-off-by: Yafang Shao <laoar.shao@gmail.com> Link: https://lore.kernel.org/r/20230305124615.12358-13-laoar.shao@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions