11.07 oprofile on panda busted?
Avik Sil
avik.sil at linaro.org
Fri Aug 26 06:28:52 UTC 2011
On Friday 26 August 2011 03:18 AM, Tom Gall wrote:
> Hi all,
>
> Say has anyone else run oprofile on recent builds on panda?
>
> By recent I mean say anything since 11.07? Reason for asking is I'm
> seeing basically a very very small number of samples being recorded...
> as in there's no way this is right.
>
> Log:
>
> root at linaro-desktop:/home/linaro/ltj-1.1.90-d# opcontrol --reset
> Signalling daemon... done
> root at linaro-desktop:/home/linaro/ltj-1.1.90-d# opcontrol --start
> Profiler running.
> root at linaro-desktop:/home/linaro/ltj-1.1.90-d# ./djpeg
> ~linaro/Saturn.jpg > /dev/null
> Decoding took 1216 ms
> root at linaro-desktop:/home/linaro/ltj-1.1.90-d# ./djpeg
> ~linaro/Saturn.jpg > /dev/null
> Decoding took 1206 ms
> root at linaro-desktop:/home/linaro/ltj-1.1.90-d#
> root at linaro-desktop:/home/linaro/ltj-1.1.90-d# ./djpeg
> ~linaro/Saturn.jpg > /dev/null
> Decoding took 1207 ms
> root at linaro-desktop:/home/linaro/ltj-1.1.90-d# ./djpeg
> ~linaro/Saturn.jpg > /dev/null
> Decoding took 1212 ms
> root at linaro-desktop:/home/linaro/ltj-1.1.90-d# opcontrol --stop
> Stopping profiling.
> root at linaro-desktop:/home/linaro/ltj-1.1.90-d# opreport -l ./djpeg
> Overflow stats not available
> CPU: CPU with timer interrupt, speed 0 MHz (estimated)
> Profiling through timer interrupt
> samples % symbol name
> 1 100.000 put_pixel_rows
>
Is it because oprofile is profiling through timer interrupt and not
through pmu counter like CPU_CYCLES? One reason for not using pmu
counters could be lack of support for pmu in omap4 as the pmu patch has
been removed from linux-linaro-2.6.39
(https://bugs.launchpad.net/linux-linaro/+bug/802693) onwards that
affected 11.07+ images.
Regards,
Avik
More information about the linaro-dev
mailing list