diff options
author | 2023-03-05 12:46:09 +0000 | |
---|---|---|
committer | 2023-03-07 09:33:43 -0800 | |
commit | f062226d8d59b521ddc946ad791048188a16722a (patch) | |
tree | 1dc15a70b15ca6d2c213167b995eda0cb673a823 /scripts/generate_rust_analyzer.py | |
parent | bpf: queue_stack_maps memory usage (diff) | |
download | linux-rng-f062226d8d59b521ddc946ad791048188a16722a.tar.xz linux-rng-f062226d8d59b521ddc946ad791048188a16722a.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions