Re: [patch] improve wchan reporting

From: Rik van Riel (riel@conectiva.com.br)
Date: Thu Oct 03 2002 - 17:30:13 EST


On Thu, 3 Oct 2002, Benjamin LaHaise wrote:

> frame pointer. Another option is to make wchan an actual file in the task,
> which has the added bonus of being somewhat more useful with aio. In any
> case, I'd like to hear what other people think about the problem, as having
> 95% of tasks show up in __down or schedule_timeout makes tracking down some
> problems a lot harder. The patch is against bk-cur.

A third option could be a /proc/$pid/backtrace file which
contains the whole backtrace for a process and teach procps
to ignore certain functions.

I prefer your solution, though ;)

Rik

-- 
Bravely reimplemented by the knights who say "NIH".

http://www.surriel.com/ http://distro.conectiva.com/

Spamtraps of the month: september@surriel.com trac@trac.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:41 EST