This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Backtrace_symbols and .symtab
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: Yury Gribov <y dot gribov at samsung dot com>, munroe at us dot ibm dot com
- Cc: Roland McGrath <roland at hack dot frob dot com>, GNU C Library <libc-alpha at sourceware dot org>, Viacheslav Garbuzov <v dot garbuzov at samsung dot com>, Andreas Jaeger <aj at suse dot com>
- Date: Fri, 24 Oct 2014 10:28:01 -0400
- Subject: Re: Backtrace_symbols and .symtab
- Authentication-results: sourceware.org; auth=none
- References: <5447C4FF dot 7090507 at samsung dot com> <5447D7C0 dot 80705 at samsung dot com> <20141022164426 dot 4921E2C3ABB at topped-with-meat dot com> <5447E5EF dot 3080307 at samsung dot com> <1414157397 dot 12737 dot 11 dot camel at oc8268013063 dot ibm dot com> <544A57CC dot 3080300 at samsung dot com>
On 10/24/2014 09:44 AM, Yury Gribov wrote:
> Sure, this will be a separate API because we don't want to slow
> existing users. So either add some flags parameter or a completely
> new function.
I don't oppose a new backtrace function does a more complete job
if .symtab is present.
I agree with Steven Munroe that the existing API performance should
remain unchanged in the default case.
However, the proof is in the pudding. What does the design look
like, how complicated is it, does it work, etc.
Cheers,
Carlos.