oprofile and ARM A9 hardware counter

Will Deacon will.deacon at arm.com
Mon Jan 30 12:24:38 EST 2012


On Mon, Jan 30, 2012 at 05:15:53PM +0000, stephane eranian wrote:
> Still need to investigate why the frequency mode does
> not yield the correct number of samples even with low frequency.
> 
> 
> $ taskset -c 1 perf record -e cycles -F 100 noploop 10
> $ perf report -D | tail -20
> Aggregated stats:
>            TOTAL events:        475
>             MMAP events:         11
>             COMM events:          2
>             EXIT events:          2
>           SAMPLE events:        460
> cycles stats:
>            TOTAL events:        475
>             MMAP events:         11
>             COMM events:          2
>             EXIT events:          2
>           SAMPLE events:        460
> 
> 460 samples is way too low. Should be 100x10 = 1000 samples or close to it.

Can you stick noploop.c somewhere (I'm lazy :) and I'll try it on one of my
A9 boards?

Thanks,

Will



More information about the linux-arm-kernel mailing list