From: wje@fir.esd.sgi.com (William J. Earl)
To: dm@sgi.com
Cc: linux@neteng.engr.sgi.com
Subject: Re: strace project
Date: Mon, 17 Jun 1996 13:58:02 -0700 [thread overview]
Message-ID: <199606172058.NAA10393@fir.esd.sgi.com> (raw)
In-Reply-To: <199606172051.NAA16930@neteng.engr.sgi.com>
David S. Miller writes:
>
> I'm just curious how strace support for IRIX 6.2 is coming along?
>
> It would be _extremely_ useful and make me _extremely_ happy to have
> so that I can write all of the IRIX system call compatability code
> when I return from my talks in the U.K. on Thursday.
If by strace you mean tracing system call arguments and results,
try using par(1). (It does not help if you want to decode argument structures,
however.) Here is a sample:
<fir:5> par -s -SS date
Mon Jun 17 13:56:39 PDT 1996
0mS was sent signal SIGUSR1
0mS END-pause() errno = 4 (Interrupted system call)
0mS received signal SIGUSR1
0mS sigreturn(0x7fff2a00) OK
1mS execve(/usr/bsd/date, 0x7fff2ea8, 0x7fff2eb0) errno = 2 (No such file or directory)
1mS execve(/usr/new/date, 0x7fff2ea8, 0x7fff2eb0) errno = 2 (No such file or directory)
1mS execve(/usr/people/wje/abi-bin/date, 0x7fff2ea8, 0x7fff2eb0) errno = 2 (No such file or directory)
2mS execve(/usr/people/wje/irix-bin/date, 0x7fff2ea8, 0x7fff2eb0) errno = 2 (No such file or directory)
2mS execve(/usr/bin/date, 0x7fff2ea8, 0x7fff2eb0) OK
74mS open(/lib/rld, O_RDONLY, 04) = 3
74mS read(3, <7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00>..., 52) = 52
74mS lseek(3, 52, SEEK_SET) = 52
74mS read(3, <70 00 00 00 00 00 00 a0 0f b6 00 a0 0f b6 00 a0>..., 96) = 96
74mS elfmap(3, 0x7fff21bc, 2) = 0xfb60000
75mS close(3) OK
76mS getpagesize() = 4096
77mS getpid() = 10390 ppid=10389
78mS syssgi(SGI_TOSSTSAVE) OK
78mS getpagesize() = 4096
78mS brk(0x10002000) OK
80mS time() = 835044999
80mS ioctl(1, TCGETA, 0x7fff2cd8) = 0
81mS write(1, "Mon Jun 17 13:56:39 PDT 1996\n", 29) = 29
81mS prctl(PR_GETNSHARE) = 0
81mS exit(0)
exit : 1 times
read : 2 times
write : 1 times
open : 1 times
close : 1 times
time : 1 times
brk : 1 times
lseek : 1 times
getpid : 1 times
syssgi : 2 times
ioctl : 1 times
sysmp : 2 times
execve : 5 times
sigreturn : 1 times
prctl : 1 times
next prev parent reply other threads:[~1996-06-17 20:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-06-17 20:51 strace project David S. Miller
1996-06-17 20:58 ` William J. Earl [this message]
1996-06-17 22:27 Larry McVoy
1996-06-17 22:27 ` Larry McVoy
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=199606172058.NAA10393@fir.esd.sgi.com \
--to=wje@fir.esd.sgi.com \
--cc=dm@sgi.com \
--cc=linux@neteng.engr.sgi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.