[POWERPC] spufs: trace spu_acquire_saved events
authorJulio M. Merino Vidal <jmerino@ac.upc.edu>
Wed, 30 Apr 2008 05:21:17 +0000 (15:21 +1000)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 30 Apr 2008 05:21:17 +0000 (15:21 +1000)
The sputrace module contained a trace entry for spu_acquire_saved, but
this marker was not placed anywhere. Fix this by adding a marker to the
routine.

Signed-off-by: Julio M. Merino Vidal <jmerino@ac.upc.edu>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
arch/powerpc/platforms/cell/spufs/context.c

index 5c50100..177735f 100644 (file)
@@ -152,6 +152,8 @@ int spu_acquire_saved(struct spu_context *ctx)
 {
        int ret;
 
+       spu_context_nospu_trace(spu_acquire_saved__enter, ctx);
+
        ret = spu_acquire(ctx);
        if (ret)
                return ret;