Re: [PATCH] sys-utils: fix readprofile on ppc64

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

 



On Wed, Jul 18, 2007 at 04:15:44PM +0200, Matthias Koenig wrote:
> Fix inconsistency between kernel profiling and readprofile.
> The range of kernel profiling is between _stext and _etext,
> and readprofile tries to extract profiling for all the symbols in
> /boot/System.map-2.6.16.11-7-ppc64 from /proc/profile, but there
> are more symbols in /boot/System.map-2.6.16.11-7-ppc64 than those
> between _stext and _etext.
> 
> Signed-off-by: Matthias Koenig <mkoenig@xxxxxxx>

On Wed, Jul 18, 2007 at 01:50:19PM -0400, Mike Frysinger wrote:
> On Wednesday 18 July 2007, Matthias Koenig wrote:
> > +		if (!strcmp(next_name, "_etext"))
> > +			done = 1;
> 
> if (!strcmp(next_name, "_etext") || !strcmp(next_name, "__etext"))
> -mike


 Applied, thanks.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux