diff options
author | Christoph Hellwig <hch@lst.de> | 2008-01-11 07:03:26 +0300 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-02-06 08:26:59 +0300 |
commit | 038200cfdc6467fa8100c5b9c3b81730f0158370 (patch) | |
tree | c035c4d174c83ecefc92c4b298216d8002e81a0e /arch/powerpc/platforms/cell/spufs/Makefile | |
parent | 551e4fb2465b87de9d4aa1669b27d624435443bb (diff) | |
download | linux-038200cfdc6467fa8100c5b9c3b81730f0158370.tar.xz |
[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/spufs/Makefile')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/Makefile b/arch/powerpc/platforms/cell/spufs/Makefile index d3a349fb42e5..99610a6361f2 100644 --- a/arch/powerpc/platforms/cell/spufs/Makefile +++ b/arch/powerpc/platforms/cell/spufs/Makefile @@ -4,6 +4,8 @@ spufs-y += inode.o file.o context.o syscalls.o coredump.o spufs-y += sched.o backing_ops.o hw_ops.o run.o gang.o spufs-y += switch.o fault.o lscsa_alloc.o +obj-$(CONFIG_SPU_TRACE) += sputrace.o + # Rules to build switch.o with the help of SPU tool chain SPU_CROSS := spu- SPU_CC := $(SPU_CROSS)gcc |