[Cbe-oss-dev] [PATCH 7:9] spufs: Provide ctxt debug file

Jeremy Kerr jk at ozlabs.org
Wed Jun 4 17:18:41 EST 2008


Hi Luke,

If this is for debugging, should we make it conditional on DEBUG? That 
should prevent casual usage.

> @@ -2613,6 +2666,7 @@ struct tree_descr spufs_dir_contents[] =
>  	{ "tid", &spufs_tid_fops, 0444, },
>  	{ "stat", &spufs_stat_fops, 0444, },
>  	{ "switch_log", &spufs_switch_log_fops, 0444 },
> +	{ "x_ctxt", &spufs_x_ctxt_fops, 0444, },

.. to stick with convention (hidden file, and the fact that we use 'ctx' 
everywhere), let's call it ".ctx"

Cheers,


Jeremy



More information about the cbe-oss-dev mailing list