Re: [patch] sched: fix single-depth wchan output

From: Andi Kleen
Date: Thu Nov 06 2008 - 17:33:47 EST


Ingo Molnar <mingo@xxxxxxx> writes:
>
> are you interested in adding /proc/<PID>/stacktrace? If yes then we
> could remove fp generation for 64-bit right now and add your
> stacktrace patch when you are done with it.

FWIW there used to be a patch floating around doing that a couple of
years ago and even used in some distros. But the big problem was if
someone read all of proc it took a lot of CPU time to do all the stack
tracing. This also was triggerable from non root.

So yes it's useful, but it can be costly.

-Andi

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