Browse Source

[POWERPC] spufs: trace spu_acquire_saved events

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>
Julio M. Merino Vidal 17 years ago
parent
commit
3734dfc68b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/powerpc/platforms/cell/spufs/context.c

+ 2 - 0
arch/powerpc/platforms/cell/spufs/context.c

@@ -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;