Re: [PATCH 3/4] compact print_symbol() output
From: Chuck Ebbert
Date: Wed Jan 18 2006 - 01:29:17 EST
In-Reply-To: <200601180325.k0I3P8tF008591@xxxxxxxxxxxxxxxxxxxxxxx>
On Tue, 17 Jan 2006 at 22:25:07 -0500, Valdis.Kletnieks wrote:
> On Tue, 17 Jan 2006 22:05:27 EST, Chuck Ebbert said:
>
> > OK, how about this: remove the "0x" from the function size, i.e. print:
> >
> > kernel_symbol+0xd3/10e
> >
> > instead of:
> >
> > kernel_symbol+0xd3/0x10e
> >
> > This saves two characters per symbol and it should still be clear that
> > the second number is hexadecimal.
>
> Good. Now repeat for a function that's 6 bytes shorter.
OK, I probably should have done that:
kernel_symbol+0xd3/108
My point is that if the "numerator" is hex you should assume the
"denominator" is too.
--
Chuck
Currently reading: _Einstein's Bridge_ by John Cramer
-
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/