Re: [PATCH 1/3] ftrace: graph of a single function

From: Steven Rostedt
Date: Wed Dec 03 2008 - 16:36:27 EST



On Wed, 3 Dec 2008, Andrew Morton wrote:

> On Wed, 3 Dec 2008 16:10:38 -0500 (EST)
> Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> > > > +
> > > > + seq_printf(m, "%s\n", str);
> > >
> > > Can we use %pF here?
> >
> > If there's a way to not print the "+offset".
>
> Could be added, I guess. I wonder if it would be
> reused elsewhere.

There's lots of places in ftrace that would use it, and probably clean up
a bunch of code in the process.

>
> > blk_unplug looks much nicer than blk_unplug+0x78/0x278
>
> <mutters something about in-kernel pretty-printers>

Huh? sorry I couldn't hear you. Could you speak up. ;-)

-- Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/