diff options
author | Yafang Shao <[email protected]> | 2023-03-05 12:46:09 +0000 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-03-07 09:33:43 -0800 |
commit | f062226d8d59b521ddc946ad791048188a16722a (patch) | |
tree | 1dc15a70b15ca6d2c213167b995eda0cb673a823 /tools/perf/scripts/python/bin/task-analyzer-record | |
parent | c6e66b42a348125fd41131de75f84fa67b6579ce (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions