This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] stack: Add new '-n MAXFRAMES' option. Resolve addresses after unwind.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Tue, 07 Jan 2014 13:33:05 +0100
- Subject: Re: [PATCH] stack: Add new '-n MAXFRAMES' option. Resolve addresses after unwind.
On Tue, 2014-01-07 at 11:33 +0000, Pedro Alves wrote:
> Anyway, seems like I've weighed my opinion enough and we're kind
> of repeating ourselves. :-)
Yes, lets agree to disagree :)
I just find it more important that eu-stack can be safely used to
quickly log the state all threads of a process, so that it will be used
with its defaults whenever possible. Possibly outputting hundred
thousands lines by default is not safe IMHO. So we do need a default
limit at least to be able to safely use it in automated scripts as is
(but should of course also have an option to overflow whatever log you
are writing if you so wish). Whether that frame limit per thread should
be 64 or 2048 or something in between is up for debate. As are other
options for limiting the output by default to something that is useful.