[PATCH 5/6] ARM: oprofile: use perf-events framework as backend
Will Deacon
will.deacon at arm.com
Fri Feb 26 05:01:14 EST 2010
Hi Jean,
Thanks for the feedback.
> How is the underlaying HW reserved? In Oprofile we used to have a call to
> reserve_pmu.
Since this patch uses the perf API, perf will take care of reserving the hardware
for us [well, it reserves it for the perf framework]. The events created by
OProfile are pinned to each CPU, so provided the perf calls don't fail, we know
that we have access to the PMU. If the calls do fail, we report failure back to
the generic OProfile framework.
> Otherwise I am OK with the concept of cleaning the profiling tools. Very good!
Thanks. Not only does it clean the code - it adds A9MP support to OProfile for free!
Cheers,
Will
More information about the linux-arm-kernel
mailing list