PowerPC Performance Interrupt

John Levon levon at movementarian.org
Sun Mar 16 00:09:35 EST 2003


On Fri, Mar 14, 2003 at 03:37:20PM -0600, Andrew Fleming wrote:

> So, it seems to me that in PowerPC, we need to get the
> already-installed PerfMon exception handler to call into oprofile.

Well I don't know ppc but this sounds OK

> Another method would be to register the pid of a control app (perhaps
> in /proc), and then have the PerfMon interrupt send a SIG_PROF to
> whichever app was registered.  I'm not sure what the consequences are

This would be very slow, overloads the meaning of SIGPROF, and wouldn't
work anyway with oprofile which needs the post-processing in
drivers/oprofile/buffer_sync.c

regards
john

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list