Messages in this thread | | | Subject | Re: [patch] sched: fix single-depth wchan output | From | Andi Kleen <> | Date | Thu, 06 Nov 2008 23:33:42 +0100 |
| |
Ingo Molnar <mingo@elte.hu> 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@linux.intel.com
| |