Trying to port some patches from i386 to ia64 I've found that
show_trace_task is the only portable way to show tasks' call
traces(perhaps because it is called from ./kernel/sched.c:)).
But its ia64 implementation can't work with running task.
Attached patch fixes this issue.
As I understand show_trace and show_stack are platform
dependent or have different sense/args.
void
show_trace_task (struct task_struct *task)
{
- struct unw_frame_info info;
-
- unw_init_from_blocked_task(&info, task);
- do_show_stack(&info, 0);
+ show_stack(task);
}
void