tools/cgroup/slabinfo.py: updated to work on current kernel
slabinfo.py script does not work with actual kernel version.
First, it was unable to recognise SLUB susbsytem, and when I specified
it manually it failed again with
AttributeError: 'struct page' has no member 'obj_cgroups'
.. and then again with
File "tools/cgroup/memcg_slabinfo.py", line 221, in main
AttributeError: 'struct mem_cgroup' has no member 'kmem_caches'
Signed-off-by: Vasily Averin <email@example.com>
Tested-by: Roman Gushchin <firstname.lastname@example.org>
Acked-by: Roman Gushchin <email@example.com>
Cc: Michal Hocko <firstname.lastname@example.org>
Signed-off-by: Andrew Morton <email@example.com>
Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
1 file changed