]> git.ipfire.org Git - thirdparty/util-linux.git/commit
readprofile: don't stop parsing at __init_end
authorPo-Yu Chuang <ratbert@faraday-tech.com>
Fri, 8 Apr 2011 09:35:53 +0000 (17:35 +0800)
committerKarel Zak <kzak@redhat.com>
Tue, 19 Apr 2011 11:09:53 +0000 (13:09 +0200)
commit994f8dde4ab001fcf2b11ed7eb70c30657f6934c
treee1a80895df5414eda401f0085aa5104bf5186ef3
parentb914a5ecb838a7eb6966aaf2161b06ef1e80888b
readprofile: don't stop parsing at __init_end

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@faraday-tech.com>
sys-utils/readprofile.c