[CELL] oprofile: enable SPU switch notification to detect currently active SPU tasks
From: Maynard Johnson <mpjohn@us.ibm.com> This patch adds to the capability of spu_switch_event_register so that the caller is also notified of currently active SPU tasks. Exports spu_switch_event_register and spu_switch_event_unregister so that OProfile can get access to the notifications provided. Signed-off-by:Maynard Johnson <mpjohn@us.ibm.com> Signed-off-by:
Carl Love <carll@us.ibm.com> Signed-off-by:
Bob Nelson <rrnelson@us.ibm.com> Signed-off-by:
Arnd Bergmann <arnd.bergmann@de.ibm.com> Acked-by:
Paul Mackerras <paulus@samba.org>
Showing
- arch/powerpc/platforms/cell/spufs/run.c 17 additions, 6 deletionsarch/powerpc/platforms/cell/spufs/run.c
- arch/powerpc/platforms/cell/spufs/sched.c 32 additions, 2 deletionsarch/powerpc/platforms/cell/spufs/sched.c
- arch/powerpc/platforms/cell/spufs/spufs.h 6 additions, 0 deletionsarch/powerpc/platforms/cell/spufs/spufs.h
Loading
Please register or sign in to comment