aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorYafang Shao <[email protected]>2023-03-05 12:46:11 +0000
committerAlexei Starovoitov <[email protected]>2023-03-07 09:33:43 -0800
commit7490b7f1c02ef825ef98f7230662049d4a464a21 (patch)
treeb94f3d6e0f8a61e29a91a517dfd050f3df9ae6d9 /tools/perf/scripts/python/event_analyzing_sample.py
parent2f536977d6f1481f0a149140c8311103ddebe36a (diff)
bpf, net: bpf_local_storage memory usage
A new helper is introduced into bpf_local_storage map to calculate the memory usage. This helper is also used by other maps like bpf_cgrp_storage, bpf_inode_storage, bpf_task_storage and etc. Note that currently the dynamically allocated storage elements are not counted in the usage, since it will take extra runtime overhead in the elements update or delete path. So let's put it aside now, and implement it in the future when someone really need it. 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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions