Messages in this thread | | | From | OGAWA Hirofumi <> | Subject | Re: [PATCH 2/8] slub: Replace ctor field with ops field in /sys/slab/* | Date | Sun, 20 Jul 2008 02:44:26 +0900 |
| |
Pekka J Enberg <penberg@cs.helsinki.fi> writes:
> + if (s->ctor) { > + x += sprintf(buf + x, "ctor : "); > + x += sprint_symbol(buf + x, (unsigned long)s->ctor); > + x += sprintf(buf + x, "\n");
How about new "%pS" like following for it? If CONFIG_KALLSYMS=n, it has difference though...
x += sprintf(buf + x, "ctor : %pS\n", (unsigned long)s->ctor); -- OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
| |