public inbox for
 help / color / mirror / Atom feed
From: Andrew Cagney <>
To: frysk <>
Subject: common print-stack options
Date: Thu, 20 Mar 2008 18:34:00 -0000	[thread overview]
Message-ID: <> (raw)

FYI, all the utilities (fstack, ftrace, ferror, fcatch) now share a 
common set of options for specifying what a stack backtrace should look 
like, for instance:

$ ./frysk-core/frysk/bindir/ftrace -stack -full-path -sys=write -- /bin/ls
10774.10774 syscall write(1, "config.log                          
files...", 53)\
10774.10774  dumping stack trace:
Task #10774
#0 0x00110402 in __kernel_vsyscall () from 
#1 0x00855135 in new_do_write () from /lib/
#2 0x0085541f in _IO_do_write@@GLIBC_2.1 () from /lib/
#3 0x00855d28 in _IO_file_overflow@@GLIBC_2.1 () from /lib/
#4 0x00858793 in __overflow () from /lib/
#5 0x0804ea57 in [unknown] from /bin/ls
#6 0x0804f026 in [unknown] from /bin/ls
#7 0x08050a9e in [unknown] from /bin/ls
#8 0x00808390 in __libc_start_main () from /lib/
#9 0x08049921 in [unknown] from /bin/ls
10774.10774 syscall leave write = -1 ERRNO=38

prints the stack backtrace withouth truncating paths.

I've marked down a brainstorming session on what the print-stack options 
should be for next wednesday's meeting.


             reply	other threads:[~2008-03-20 18:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-20 18:34 Andrew Cagney [this message]
2008-03-26 12:06 ` Mark Wielaard

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* 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).