Re: [PATCH 1/1] hung_task debugging: Add tracepoint to report the hang

2013-10-29 Thread Oleg Nesterov
On 10/20, Ingo Molnar wrote: > > * Oleg Nesterov wrote: > > > 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 che

Re: [PATCH 1/1] hung_task debugging: Add tracepoint to report the hang

2013-10-20 Thread Ingo Molnar
* Oleg Nesterov wrote: > 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

[PATCH 1/1] hung_task debugging: Add tracepoint to report the hang

2013-10-19 Thread Oleg Nesterov
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