Messages in this thread |  | | Date | Wed, 11 Jan 2012 09:37:00 -0800 | | From | Tejun Heo <> | | Subject | Re: [PATCH 8/9] stacktrace: implement save_stack_trace_quick() |
| |
Hello,
On Wed, Jan 11, 2012 at 08:38:26AM -0800, Tejun Heo wrote: > It would be best if we can extend the existing one to cover all the > cases with acceptable overhead. I needed to write this minimal > version anyway for comparison so it's posted together but no matter > how it turns out switching them isn't difficult.
To add a bit, it would probably be better to restructure backtrace code such that the common code provides discrete steps for backtracing (maybe somewhat like iterators) and interface functions assembling what they need. Such structure would be much more malleable for various purposes.
Thanks.
-- tejun
|  |