summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/cell/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig2008-01-11 05:03:26 +0100
committerPaul Mackerras2008-02-06 06:26:59 +0100
commit038200cfdc6467fa8100c5b9c3b81730f0158370 (patch)
treec035c4d174c83ecefc92c4b298216d8002e81a0e /arch/powerpc/platforms/cell/Kconfig
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6 (diff)
downloadkernel-qcow2-linux-038200cfdc6467fa8100c5b9c3b81730f0158370.tar.gz
kernel-qcow2-linux-038200cfdc6467fa8100c5b9c3b81730f0158370.tar.xz
kernel-qcow2-linux-038200cfdc6467fa8100c5b9c3b81730f0158370.zip
[POWERPC] spufs: Add marker-based tracing facility
This adds markers two important points in the spufs code and a new module (sputrace.ko) that allows reading these out through a proc file. Long-term I'd rather see something like lttng extended to use the spufs instrumentation, but for now I think this is a good enough quick solution. We'll probably want to add various addition event in addition to that ones I have already. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/Kconfig')
-rw-r--r--arch/powerpc/platforms/cell/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/Kconfig b/arch/powerpc/platforms/cell/Kconfig
index 3a963b4a9be0..2f169991896d 100644
--- a/arch/powerpc/platforms/cell/Kconfig
+++ b/arch/powerpc/platforms/cell/Kconfig
@@ -54,6 +54,13 @@ config SPU_FS_64K_LS
uses 4K pages. This can improve performances of applications
using multiple SPEs by lowering the TLB pressure on them.
+config SPU_TRACE
+ tristate "SPU event tracing support"
+ depends on SPU_FS && MARKERS
+ help
+ This option allows reading a trace of spu-related events through
+ the sputrace file in procfs.
+
config SPU_BASE
bool
default n