diff options
author | 2023-04-13 22:34:52 +0800 | |
---|---|---|
committer | 2023-05-22 15:20:21 +0200 | |
commit | 8040cbf5e1da2fe86558239b92927a947c79ecd6 (patch) | |
tree | 117c0a6a9463eff9b69ecb38379603c992f20e6c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | slub: Remove slabs_node() function (diff) | |
download | wireguard-linux-8040cbf5e1da2fe86558239b92927a947c79ecd6.tar.xz wireguard-linux-8040cbf5e1da2fe86558239b92927a947c79ecd6.zip |
slub: Don't read nr_slabs and total_objects directly
We have node_nr_slabs() to read nr_slabs, node_nr_objs() to read
total_objects in a kmem_cache_node, so no need to access the two
members directly.
Signed-off-by: Xiongwei Song <xiongwei.song@windriver.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions