[PATCH RFC] util-linux: readprofile: don't stop parsing at __init_end

Karel Zak kzak at redhat.com
Tue Apr 12 06:11:35 EDT 2011


On Fri, Apr 08, 2011 at 05:35:53PM +0800, Po-Yu Chuang wrote:
> From: Po-Yu Chuang <ratbert at faraday-tech.com>
> 
> Some architectures like ARM place __init_end before .text section.
> If any function in .init section is hit while profiling, readprofile
> stops at __init_end.  That means if we enable profiling at boot time,
> the profiler probably hits init functions and readprofile does not
> work well unless we reset profiling buffer with -r option.
> 
> Signed-off-by: Po-Yu Chuang <ratbert at faraday-tech.com>
> ---
>  sys-utils/readprofile.c |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)

 Applied, thanks.

    Karel

-- 
 Karel Zak  <kzak at redhat.com>
 http://karelzak.blogspot.com



More information about the linux-arm-kernel mailing list