Sysfs "ctor" file prints offset/length of the cache's ctor function $ sudo cat /sys/kernel/slab/bdev_cache/ctor init_once+0x0/0x10 This is not useful: Offset will always be 0 because ctor is a function. I'm not sure what ctor function size is doing here, it should be in /proc/kallsyms Signed-off-by: Alexey Dobriyan --- mm/slub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/slub.c +++ b/mm/slub.c @@ -9149,7 +9149,7 @@ static ssize_t ctor_show(struct kmem_cache *s, char *buf) { if (!s->ctor) return 0; - return sysfs_emit(buf, "%pS\n", s->ctor); + return sysfs_emit(buf, "%ps\n", s->ctor); } SLAB_ATTR_RO(ctor);