commit | 5158e9b5218bd3799c9fa8c401ad24d7f0c0a0a1 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Apr 29 17:08:38 2008 +1000 |
committer | Jeremy Kerr <jk@ozlabs.org> | Wed Apr 30 15:01:54 2008 +1000 |
tree | 4ed17672fe0582c46f594217ba410ec92aebfb45 | |
parent | 14b3ca4022f050f8622ed282b734ddf445464583 [diff] |
[POWERPC] spufs: add context switch notification log 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. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>