This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] stack: Add new '-n MAXFRAMES' option. Resolve addresses after unwind.


Hi Jan,

We just don't agree on what is useful default output for a user or
script that wants to quickly introspect or log the state of a
(multi-threaded) process with eu-stack. Defaulting to infinite
backtraces for all threads in a process will just flood console or log
files. That isn't useful.

But I do agree with this part:

On Mon, 2014-01-06 at 19:23 +0100, Jan Kratochvil wrote:
> > But by default it provides [n=2048] frames for all threads of a process.
> > A bit too much for my liking,
> 
> It is too much to print on a console anyway while it is still breaking the
> stack overflow crashes.  It is had only two cons, no pro.

You are right, that is too big a limit. It would mean ~30 pages of
output by default, which even for a log file would be too much. I'll
reduce it to 256 by default.

Thanks,

Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]