From: Mark Wielaard <mark@klomp.org>
To: Andrew Cagney <cagney@redhat.com>
Cc: Sami Wagiaalla <swagiaal@redhat.com>, frysk@sourceware.org
Subject: Re: fstack options
Date: Fri, 15 Jun 2007 09:44:00 -0000 [thread overview]
Message-ID: <1181898346.4482.32.camel@dijkstra.wildebeest.org> (raw)
In-Reply-To: <46718036.9060601@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 849 bytes --]
On Thu, 2007-06-14 at 13:51 -0400, Andrew Cagney wrote:
> fstack's, and its pre-cursors - gstack and pstack, first priority is
> speed - get in, get a backtrace, get out - and I think it is fair to
> assume that having to scan multi-megabytes of .debug info would run
> against that goal (fstack probably shouldn't look in .debug_line by
> default either).
>
> Perhaps an option << fstack -a >> to reverse the goal and display
> everything known about the function would address this.
So would a 2 stage approach be an idea. fstack just gets the addresses
on the stack, writes them out (or buffers them) and gets out. Then the
result gets pushed through addr2line (or a frysk based alternative if
you want) that pieces together the actual source lines from the
addresses and the exe associated with the pid?
Cheers,
Mark
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-06-15 9:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-11 20:27 Sami Wagiaalla
2007-06-12 21:56 ` Sami Wagiaalla
2007-06-14 19:06 ` Andrew Cagney
2007-06-15 9:44 ` Mark Wielaard [this message]
2007-06-15 14:07 ` Andrew Cagney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1181898346.4482.32.camel@dijkstra.wildebeest.org \
--to=mark@klomp.org \
--cc=cagney@redhat.com \
--cc=frysk@sourceware.org \
--cc=swagiaal@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).