浏览代码

reference debugging helpers

Samuel Thibault 14 年之前
父节点
当前提交
f41b6aa5ea
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      doc/starpu.texi

+ 11 - 0
doc/starpu.texi

@@ -1345,6 +1345,17 @@ task->cl_arg_size = arg_buffer_size;
 int ret = starpu_task_submit(task);
 @end smallexample
 
+@node Debugging
+@section Debugging
+
+StarPU provides several tools to help debugging aplications. Execution traces
+can be generated and displayed graphically, see @ref{Generating traces}. Some
+gdb helpers are also provided to show the whole StarPU state:
+
+@smallexample
+(gdb) source tools/gdbinit
+(gdb) help starpu
+@end smallexample
 
 @node More examples
 @section More examples