lkml.org 
[lkml]   [2013]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] hung_task debugging: Add tracepoint to report the hang

* Oleg Nesterov <oleg@redhat.com> 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 monitor can easily wait for the hang and potentially
> resolve a problem.

I'm wondering, is the data of trace_console() in kernel/printk/printk.c
not sufficient?

If it's not enough then it might be better to add a higher level printk
tracepoint instead - that can catch hung_task messages and (much) more.

Thanks,

Ingo


\
 
 \ /
  Last update: 2013-10-20 11:01    [W:0.048 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site