Glenn Fowler wrote:
> outsider input (but, by coincidence, deeply imbedded with tracebacks
> for the last two weeks): its a mistake to have any traceback
> function call malloc(), since plugging memory leaks must be
> near the top of traceback requirements list
> 
> backtrace() puts the info in a user buf,siz
> an appropriately renamed backtrace_symbols() should to the same
> with feedback when the buffer size is insufficient
> 

Do you think providing a Solaris-only version of this is
useful?  I've added addrtosymstr(), which allows the
user to create whatever he wants with backtrace() pretty
easily.

- Bart


-- 
Bart Smaalders                  Solaris Kernel Performance
barts at cyber.eng.sun.com              http://blogs.sun.com/barts

Reply via email to