Skip to content

Commit

Permalink
[POWERPC] spufs: trace spu_acquire_saved events
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Julio M. Merino Vidal authored and Jeremy Kerr committed Apr 30, 2008
1 parent 8a476d4 commit 3734dfc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/powerpc/platforms/cell/spufs/context.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3734dfc

Please sign in to comment.