Re: [PATCH, RFC 0/3] Improvements to the tracing documentation

From: Theodore Tso
Date: Mon Apr 13 2009 - 19:40:17 EST


On Tue, Apr 14, 2009 at 12:55:42AM +0200, Ingo Molnar wrote:
>
> It could be worked around right now by converting it to an integer
> but i think what we want is native support for kdev_t, together with
> all the usual convenience forms of specifying it: sda1 should work
> the same way as 8:1 or 0801. Even /dev/sda1 should be recognized in
> a filter expression.

Yeah, I could just drop in the integer now, and and just have
TP_printk() display "(8, 2)" instead of "sda2". It's really a
question of how far we want to take pretty-printing and parsing for
ftrace, I suppose.

But if we are going to have end-users use it, having real
pretty-printed names would be a good thing, IMHO. Especially if
major/minor numbers start becoming completely random beasts, as some
have proposed. (I think it's a terrible idea, but I'm clearly not
politically correct. :-)

- Ted
--
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/