[Cbe-oss-dev] [PATCH] spufs context switch notification

Jeremy Kerr jk at ozlabs.org
Tue Apr 29 17:04:23 EST 2008


Christoph,

> There are userspace instrumentation tools that need to monitor spu
> context switches.  This patch adds a new file called 'switch_log' to
> each spufs context directory that can be used to monitor the context
> switches.
>
> Context switch in/out and exit from spu_run are monitored after the
> file was first opened and can be read from it.

Looks good, applied to spufs.git

Any chance I can get an addition to the spufs.7 man page? :D


Jeremy



More information about the cbe-oss-dev mailing list