oprofile and ARM A9 hardware counter

stephane eranian eranian at googlemail.com
Wed Jan 18 04:54:46 EST 2012


On Wed, Jan 18, 2012 at 5:18 AM, Ming Lei <ming.lei at canonical.com> wrote:
> Hi stephane & Will,
>
> On Tue, Jan 10, 2012 at 8:46 AM, stephane eranian
> <eranian at googlemail.com> wrote:
>> See the dmesg from my 3.2 kernel:
>>
>>
>> [    0.000000] Booting Linux on physical CPU 0[    0.000000]
>
> Looks no obvious failure can be found from your 'dmesg'.
>
> I have run upstream 3.2 kernel plus 6 omap4 pmu patches below and
> found perf can work well on my panda board.
>
>        0001-arm-introduce-cross-trigger-interface-helpers.patch
>        0002-arm-pmu-allow-platform-specific-irq-enable-disable-h.patch
>        0003-arm-omap4-hwmod-introduce-emu-hwmod.patch or Benoit's debugss patch[2]
>        0004-arm-omap4-create-pmu-device-via-hwmod.patch[3]
>        0005-arm-omap4-support-pmu.patch[4]
>        0006-arm-omap4-pmu-support-runtime-pm.patch[5]
>
> Could you verify the above patches on 3.2 to see if perf can work well?
> If it doesn't, I may share my u-boot and mlo for your test if you'd like to do.
>
> BTW: #1 and #2 have been in Will's -next tree.
>
Should I use Will's -next tree as the base instead of Linus'?
Given that MARC is shutdown today, would you mind packing those patches
into a tarball and sending them to me directly?

When you mention Will's -next tree, are you talking about:
git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git for-next/perf

Thanks.

> thanks,
> --
> Ming Lei
>
> [1], uname -a & cat /proc/interrupts
> [root at root]#uname -a
> Linux beagleboard 3.2.0+ #480 SMP PREEMPT Wed Jan 18 11:38:33 CST 2012
> armv7l GNU/Linux
> [root at root]#cat /proc/interrupts
>           CPU0       CPU1
>  29:      29014      17353       GIC  twd
>  33:      56231          0       GIC  arm-pmu
>  34:          0      25778       GIC  arm-pmu
>
> [2], http://marc.info/?l=linux-omap&m=132162118104901&w=2
> [3],http://marc.info/?t=132227621500002&r=1&w=2
> [4],http://marc.info/?t=132227621700002&r=1&w=2
> [5],http://marc.info/?t=132227621700003&r=1&w=2



More information about the linux-arm-kernel mailing list