Re: [patch] improve wchan reporting

Rik van Riel (riel@conectiva.com.br)
Thu, 3 Oct 2002 19:30:13 -0300 (BRT)


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/