Re: [PATCH 3/4] compact print_symbol() output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In-Reply-To: <[email protected]>

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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux