[Cbe-oss-dev] [PATCH] spufs: marker-based tracing facility

Jeremy Kerr jk at ozlabs.org
Wed Dec 19 13:38:11 EST 2007


Hi Christoph,

I've just been tracing some SPU apps:

> @@ -845,6 +853,7 @@ static int __spu_deactivate(struct spu_c
>   */
>  void spu_deactivate(struct spu_context *ctx)
>  {
> +	spu_context_nospu_trace(spu_deactivate__enter, ctx);
>  	__spu_deactivate(ctx, 1, MAX_PRIO);
>  }
>

Would it be beneficial to include a matching trace event in 
spu_activate?

Cheers,


Jeremy



More information about the cbe-oss-dev mailing list