Skip to content
Commit 98947175 authored by Stéphane Graber's avatar Stéphane Graber Committed by Greg Kroah-Hartman
Browse files

tools/vm/slabinfo: Handle files in debugfs



commit 0c7e0d69 upstream.

Commit 64dd6849 relocated and renamed the alloc_calls and
free_calls files from /sys/kernel/slab/NAME/*_calls over to
/sys/kernel/debug/slab/NAME/*_calls but didn't update the slabinfo tool
with the new location.

This change will now have slabinfo look at the new location (and filenames)
with a fallback to the prior files.

Fixes: 64dd6849 ("mm: slub: move sysfs slab alloc/free interfaces to debugfs")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarStéphane Graber <stgraber@ubuntu.com>
Tested-by: default avatarStéphane Graber <stgraber@ubuntu.com>
Signed-off-by: default avatarVlastimil Babka <vbabka@suse.cz>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7ad47f41
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment