remove some print

This commit is contained in:
zy
2023-11-20 22:27:08 -05:00
parent 8ab853ee28
commit c9d7c8710a
2 changed files with 8 additions and 6 deletions

View File

@@ -63,12 +63,13 @@ void diag_tsk(struct task_struct *p, variable_monitor_task *tsk_info,unsigned lo
diag_task_user_stack(p, &tsk_info->user_stack); // user stack
// printk("2\n");
nr_bt = diag_task_kern_stack(p, &tsk_info->kern_stack); // kernel stack
// int i = 0;
// printk("pid: %d, kernel stack.stack\n", p->pid);
// for (i = 0; i < nr_bt; i++) {
// printk("%lx\n", tsk_info->kern_stack.stack[i]);
// }
// printk("pid: %d, stack_trace_print\n", p->pid);
stack_trace_print(tsk_info->kern_stack.stack, nr_bt, 0); /* 打印栈 */
// stack_trace_print(tsk_info->kern_stack.stack, nr_bt, 0); /* 打印栈 */
// printk("3\n");
dump_proc_chains_argv(1, p, &mm_tree_struct,