hung_task debugging: Add tracepoint to report the hang
authorOleg Nesterov <oleg@redhat.com>
Sat, 19 Oct 2013 16:18:28 +0000 (18:18 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 31 Oct 2013 10:16:18 +0000 (11:16 +0100)
Currently check_hung_task() prints a warning if it detects the
problem, but it is not convenient to watch the system logs if
user-space wants to be notified about the hang.

Add the new trace_sched_process_hang() into check_hung_task(),
this way a user-space monitor can easily wait for the hang and
potentially resolve a problem.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Dave Sullivan <dsulliva@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/20131019161828.GA7439@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>

No differences found