On Wed, 3 Dec 2008, Andrew Morton wrote:
> On Wed, 03 Dec 2008 15:36:57 -0500
> Steven Rostedt <[EMAIL PROTECTED]> wrote:
>
> > +static int g_show(struct seq_file *m, void *v)
> > +{
> > + unsigned long *ptr = v;
> > + char str[KSYM_SYMBOL_LEN];
> > +
> > + if (!ptr)
> > + return 0;
> > +
> > + kallsyms_lookup(*ptr, NULL, NULL, NULL, str);
> > +
> > + seq_printf(m, "%s\n", str);
>
> Can we use %pF here?
If there's a way to not print the "+offset".
blk_unplug looks much nicer than blk_unplug+0x78/0x278
-- Steve
_______________________________________________
Containers mailing list
[EMAIL PROTECTED]
https://lists.linux-foundation.org/mailman/listinfo/containers
_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel