blob: 1b85733e408f8f5754d11e606a2fbeaa19f16d26 [file] [log] [blame]
Wichert Akkerman76baf7c1999-02-19 00:21:36 +00001.\" Copyright (c) 1991, 1992 Paul Kranenburg <pk@cs.few.eur.nl>
2.\" Copyright (c) 1993 Branko Lankester <branko@hacktic.nl>
3.\" Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com>
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\" notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\" notice, this list of conditions and the following disclaimer in the
13.\" documentation and/or other materials provided with the distribution.
14.\" 3. The name of the author may not be used to endorse or promote products
15.\" derived from this software without specific prior written permission.
16.\"
17.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27.\"
28.\" $Id$
29.\"
30.de CW
31.sp
32.nf
33.ft CW
34..
35.de CE
Wichert Akkerman8829a551999-06-11 13:18:40 +000036.ft R
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000037.fi
38.sp
39..
Roland McGrath4417fda2003-01-24 04:31:20 +000040.TH STRACE 1 "2003-01-21"
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000041.SH NAME
42strace \- trace system calls and signals
43.SH SYNOPSIS
44.B strace
45[
46.B \-dffhiqrtttTvxx
47]
48[
49.BI \-a column
50]
51[
52.BI \-e expr
53]
54\&...
55[
56.BI \-o file
57]
58[
59.BI \-p pid
60]
61\&...
62[
63.BI \-s strsize
64]
65[
66.BI \-u username
67]
68[
Roland McGrath4417fda2003-01-24 04:31:20 +000069.BI \-E var=val
70]
71\&...
72[
73.BI \-E var
74]
75\&...
76[
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000077.I command
78[
79.I arg
80\&...
81]
82]
83.sp
84.B strace
85.B \-c
86[
87.BI \-e expr
88]
89\&...
90[
91.BI \-O overhead
92]
93[
94.BI \-S sortby
95]
96[
97.I command
98[
99.I arg
100\&...
101]
102]
103.SH DESCRIPTION
104.IX "strace command" "" "\fLstrace\fR command"
105.LP
106In the simplest case
107.B strace
108runs the specified
109.I command
110until it exits.
111It intercepts and records the system calls which are called
112by a process and the signals which are received by a process.
113The name of each system call, its arguments and its return value
114are printed on standard error or to the file specified with the
115.B \-o
116option.
117.LP
118.B strace
Nate Sammonsb4aa1131999-03-31 05:59:04 +0000119is a useful diagnostic, instructional, and debugging tool.
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000120System adminstrators, diagnosticians and trouble-shooters will find
121it invaluable for solving problems with
122programs for which the source is not readily available since
123they do not need to be recompiled in order to trace them.
124Students, hackers and the overly-curious will find that
125a great deal can be learned about a system and its system calls by
126tracing even ordinary programs. And programmers will find that
127since system calls and signals are events that happen at the user/kernel
128interface, a close examination of this boundary is very
129useful for bug isolation, sanity checking and
130attempting to capture race conditions.
131.LP
132Each line in the trace contains the system call name, followed
133by its arguments in parentheses and its return value.
134An example from stracing the command ``cat /dev/null'' is:
135.CW
136open("/dev/null", O_RDONLY) = 3
137.CE
138Errors (typically a return value of \-1) have the errno symbol
139and error string appended.
140.CW
141open("/foo/bar", O_RDONLY) = -1 ENOENT (No such file or directory)
142.CE
143Signals are printed as a signal symbol and a signal string.
144An excerpt from stracing and interrupting the command ``sleep 666'' is:
145.CW
146sigsuspend([] <unfinished ...>
147--- SIGINT (Interrupt) ---
148+++ killed by SIGINT +++
149.CE
150Arguments are printed in symbolic form with a passion.
151This example shows the shell peforming ``>>xyzzy'' output redirection:
152.CW
153open("xyzzy", O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
154.CE
155Here the three argument form of open is decoded by breaking down the
156flag argument into its three bitwise-OR constituents and printing the
157mode value in octal by tradition. Where traditional or native
158usage differs from ANSI or POSIX, the latter forms are preferred.
Wichert Akkerman8829a551999-06-11 13:18:40 +0000159In some cases,
160.B strace
161output has proven to be more readable than the source.
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000162.LP
163Structure pointers are dereferenced and the members are displayed
164as appropriate. In all cases arguments are formatted in the most C-like
165fashion possible.
166For example, the essence of the command ``ls \-l /dev/null'' is captured as:
167.CW
168lstat("/dev/null", {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
169.CE
170Notice how the `struct stat' argument is dereferenced and how each member is
171displayed symbolically. In particular, observe how the st_mode member
172is carefully decoded into a bitwise-OR of symbolic and numeric values.
173Also notice in this example that the first argument to lstat is an input
174to the system call and the second argument is an output. Since output
Wichert Akkerman8829a551999-06-11 13:18:40 +0000175arguments are not modified if the system call fails, arguments may not
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000176always be dereferenced. For example, retrying the ``ls \-l'' example
177with a non-existent file produces the following line:
178.CW
179lstat("/foo/bar", 0xb004) = -1 ENOENT (No such file or directory)
180.CE
181In this case the porch light is on but nobody is home.
182.LP
183Character pointers are dereferenced and printed as C strings.
184Non-printing characters in strings are normally represented by
185ordinary C escape codes.
186Only the first
187.I strsize
188(32 by default) bytes of strings are printed;
189longer strings have an ellipsis appended following the closing quote.
Wichert Akkerman8829a551999-06-11 13:18:40 +0000190Here is a line from ``ls \-l'' where the
191.B getpwuid
192library routine is reading the password file:
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000193.CW
194read(3, "root::0:0:System Administrator:/"..., 1024) = 422
195.CE
196While structures are annotated using curly braces, simple pointers
197and arrays are printed using square brackets with commas separating
198elements. Here is an example from the command ``id'' on a system with
199supplementary group ids:
200.CW
201getgroups(32, [100, 0]) = 2
202.CE
203On the other hand, bit-sets are also shown using square brackets
204but set elements are separated only by a space. Here is the shell
205preparing to execute an external command:
206.CW
207sigprocmask(SIG_BLOCK, [CHLD TTOU], []) = 0
208.CE
209Here the second argument is a bit-set of two signals, SIGCHLD and SIGTTOU.
210In some cases the bit-set is so full that printing out the unset
211elements is more valuable. In that case, the bit-set is prefixed by
212a tilde like this:
213.CW
214sigprocmask(SIG_UNBLOCK, ~[], NULL) = 0
215.CE
216Here the second argument represents the full set of all signals.
217.SH OPTIONS
218.TP 12
219.TP
220.B \-c
221Count time, calls, and errors for each system call and report a
222summary on program exit.
223.TP
224.B \-d
Wichert Akkerman8829a551999-06-11 13:18:40 +0000225Show some debugging output of
226.B strace
227itself on the standard error.
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000228.TP
229.B \-f
230Trace child processes as they are created by currently traced
Wichert Akkerman8829a551999-06-11 13:18:40 +0000231processes as a result of the
232.BR fork (2)
233system call. The new process is
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000234attached to as soon as its pid is known (through the return value of
Wichert Akkerman8829a551999-06-11 13:18:40 +0000235.BR fork (2)
236in the parent process). This means that such children may run
237uncontrolled for a while (especially in the case of a
238.BR vfork (2)),
239until the parent is scheduled again to complete its
240.RB ( v ) fork (2)
241call.
242If the parent process decides to
243.BR wait (2)
244for a child that is currently
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000245being traced, it is suspended until an appropriate child process either
246terminates or incurs a signal that would cause it to terminate (as
247determined from the child's current signal disposition).
248.TP
249.B \-ff
250If the
251.B \-o
252.I filename
253option is in effect, each processes trace is written to
254.I filename.pid
255where pid is the numeric process id of each process.
256.TP
257.B \-F
Wichert Akkerman8829a551999-06-11 13:18:40 +0000258Attempt to follow
259.BR vfork s.
260(On SunOS 4.x, this is accomplished with
Nate Sammonsccd8f211999-03-29 22:57:54 +0000261some dynamic linking trickery. On Linux, it requires some kernel
Wichert Akkerman8829a551999-06-11 13:18:40 +0000262functionality not yet in the standard kernel.) Otherwise,
263.BR vfork s
264will
Nate Sammonsccd8f211999-03-29 22:57:54 +0000265not be followed even if
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000266.B \-f
267has been given.
268.TP
269.B \-h
270Print the help summary.
271.TP
272.B \-i
273Print the instruction pointer at the time of the system call.
274.TP
275.B \-q
276Suppress messages about attaching, detaching etc. This happens
277automatically when output is redirected to a file and the command
278is run directly instead of attaching.
279.TP
280.B \-r
281Print a relative timestamp upon entry to each system call. This
282records the time difference between the beginning of successive
283system calls.
284.TP
285.B \-t
286Prefix each line of the trace with the time of day.
287.TP
288.B \-tt
289If given twice, the time printed will include the microseconds.
290.TP
291.B \-ttt
292If given thrice, the time printed will include the microseconds
293and the leading portion will be printed as the number
294of seconds since the epoch.
295.TP
296.B \-T
297Show the time spent in system calls. This records the time
298difference between the beginning and the end of each system call.
299.TP
300.B \-v
301Print unabbreviated versions of environment, stat, termios, etc.
302calls. These structures are very common in calls and so the default
303behavior displays a reasonable subset of structure members. Use
304this option to get all of the gory details.
305.TP
306.B \-V
Wichert Akkerman8829a551999-06-11 13:18:40 +0000307Print the version number of
308.BR strace .
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000309.TP
310.B \-x
Wichert Akkerman8829a551999-06-11 13:18:40 +0000311Print all non-ASCII strings in hexadecimal string format.
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000312.TP
313.B \-xx
314Print all strings in hexadecimal string format.
315.TP
316.BI "\-a " column
Wichert Akkerman4dc8a2a1999-12-23 14:20:14 +0000317Align return values in a specific column (default column 40).
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000318.TP
319.BI "\-e " expr
320A qualifying expression which modifies which events to trace
321or how to trace them. The format of the expression is:
Wichert Akkerman8829a551999-06-11 13:18:40 +0000322.RS 15
323.IP
324[\fIqualifier\fB=\fR][\fB!\fR]\fIvalue1\fR[\fB,\fIvalue2\fR]...
325.RE
326.IP
327where
328.I qualifier
329is one of
330.BR trace ,
331.BR abbrev ,
332.BR verbose ,
333.BR raw ,
334.BR signal ,
335.BR read ,
336or
337.B write
338and
339.I value
340is a qualifier-dependent symbol or number. The default
341qualifier is
342.BR trace .
343Using an exclamation mark negates the set of values. For example,
344.B \-eopen
345means literally
346.B "\-e trace=open"
347which in turn means trace only the
348.B open
349system call. By contrast,
350.B "\-etrace=!open"
351means to trace every system call except
352.BR open .
353In addition, the special values
354.B all
355and
356.B none
357have the obvious meanings.
358.IP
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000359Note that some shells use the exclamation point for history
Wichert Akkerman8829a551999-06-11 13:18:40 +0000360expansion even inside quoted arguments. If so, you must escape
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000361the exclamation point with a backslash.
362.TP
363.BI "\-e trace=" set
364Trace only the specified set of system calls. The
365.B \-c
366option is useful for determining which system calls might be useful
Wichert Akkerman8829a551999-06-11 13:18:40 +0000367to trace. For example,
368.B trace=open,close,read,write
369means to only
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000370trace those four system calls. Be careful when making inferences
371about the user/kernel boundary if only a subset of system calls
Wichert Akkerman8829a551999-06-11 13:18:40 +0000372are being monitored. The default is
373.BR trace=all .
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000374.TP
375.B "\-e trace=file"
376Trace all system calls which take a file name as an argument. You
377can think of this as an abbreviation for
Wichert Akkerman8829a551999-06-11 13:18:40 +0000378.BR "\-e\ trace=open,stat,chmod,unlink," ...
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000379which is useful to seeing what files the process is referencing.
380Furthermore, using the abbreviation will ensure that you don't
381accidentally forget to include a call like
382.B lstat
383in the list. Betchya woulda forgot that one.
384.TP
385.B "\-e trace=process"
386Trace all system calls which involve process management. This
387is useful for watching the fork, wait, and exec steps of a process.
388.TP
389.B "\-e trace=network"
390Trace all the network related system calls.
391.TP
392.B "\-e trace=signal"
393Trace all signal related system calls.
394.TP
395.B "\-e trace=ipc"
396Trace all IPC related system calls.
397.TP
398.BI "\-e abbrev=" set
399Abbreviate the output from printing each member of large structures.
Wichert Akkerman8829a551999-06-11 13:18:40 +0000400The default is
401.BR abbrev=all .
402The
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000403.B \-v
Wichert Akkerman8829a551999-06-11 13:18:40 +0000404option has the effect of
405.BR abbrev=none .
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000406.TP
407.BI "\-e verbose=" set
408Dereference structures for the specified set of system calls. The
Wichert Akkerman8829a551999-06-11 13:18:40 +0000409default is
410.BR verbose=all .
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000411.TP
412.BI "\-e raw=" set
413Print raw, undecoded arguments for the specifed set of system calls.
414This option has the effect of causing all arguments to be printed
415in hexadecimal. This is mostly useful if you don't trust the
416decoding or you need to know the actual numeric value of an
417argument.
418.TP
419.BI "\-e signal=" set
Wichert Akkerman8829a551999-06-11 13:18:40 +0000420Trace only the specified subset of signals. The default is
421.BR signal=all .
422For example,
423.B signal=!SIGIO
424(or
425.BR signal=!io )
426causes SIGIO signals not to be traced.
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000427.TP
428.BI "\-e read=" set
Wichert Akkerman8829a551999-06-11 13:18:40 +0000429Perform a full hexadecimal and ASCII dump of all the data read from
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000430file descriptors listed in the specified set. For example, to see
431all input activity on file descriptors 3 and 5 use
432.BR "\-e read=3,5" .
Wichert Akkerman8829a551999-06-11 13:18:40 +0000433Note that this is independent from the normal tracing of the
434.BR read (2)
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000435system call which is controlled by the option
436.BR "\-e trace=read" .
437.TP
438.BI "\-e write=" set
Wichert Akkerman8829a551999-06-11 13:18:40 +0000439Perform a full hexadecimal and ASCII dump of all the data written to
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000440file descriptors listed in the specified set. For example, to see
441all output activity on file descriptors 3 and 5 use
442.BR "\-e write=3,5" .
Wichert Akkerman8829a551999-06-11 13:18:40 +0000443Note that this is independent from the normal tracing of the
444.BR write (2)
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000445system call which is controlled by the option
446.BR "\-e trace=write" .
447.TP
448.BI "\-o " filename
449Write the trace output to the file
450.I filename
451rather than to stderr.
452Use
453.I filename.pid
454if
455.B \-ff
456is used.
457If the argument begins with `|' or with `!' then the rest of the
458argument is treated as a command and all output is piped to it.
459This is convenient for piping the debugging output to a program
460without affecting the redirections of executed programs.
461.TP
462.BI "\-O " overhead
Wichert Akkerman8829a551999-06-11 13:18:40 +0000463Set the overhead for tracing system calls to
464.I overhead
465microseconds.
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000466This is useful for overriding the default heuristic for guessing
467how much time is spent in mere measuring when timing system calls using
468the
469.B \-c
470option. The acuracy of the heuristic can be gauged by timing a given
Wichert Akkerman8829a551999-06-11 13:18:40 +0000471program run without tracing (using
472.BR time (1))
473and comparing the accumulated
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000474system call time to the total produced using
Wichert Akkerman8829a551999-06-11 13:18:40 +0000475.BR \-c .
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000476.TP
477.BI "\-p " pid
478Attach to the process with the process
479.SM ID
480.I pid
481and begin tracing.
482The trace may be terminated
483at any time by a keyboard interrupt signal (\c
484.SM CTRL\s0-C).
485.B strace
486will respond by detaching itself from the traced process(es)
487leaving it (them) to continue running.
488Multiple
489.B \-p
490options can be used to attach to up to 32 processes in addition to
491.I command
492(which is optional if at least one
493.B \-p
494option is given).
495.TP
496.BI "\-s " strsize
497Specify the maximum string size to print (the default is 32). Note
498that filenames are not considered strings and are always printed in
499full.
500.TP
501.BI "\-S " sortby
502Sort the output of the histogram printed by the
503.B \-c
504option by the specified critereon. Legal values are
Wichert Akkerman8829a551999-06-11 13:18:40 +0000505.BR time ,
506.BR calls ,
507.BR name ,
508and
509.B nothing
510(default
511.BR time ).
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000512.TP
513.BI "\-u " username
Wichert Akkerman8829a551999-06-11 13:18:40 +0000514Run command with the user \s-1ID\s0, group \s-2ID\s0, and
515supplementary groups of
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000516.IR username .
517This option is only useful when running as root and enables the
518correct execution of setuid and/or setgid binaries.
519Unless this option is used setuid and setgid programs are executed
520without effective privileges.
Roland McGrath4417fda2003-01-24 04:31:20 +0000521.TP
522.BI "\-E " var=val
523Run command with
524.IR var=val
525in its list of environment variables.
526.TP
527.BI "\-E " var
528Remove
529.IR var
530from the inherited list of environment variables before passing it on to
531the command.
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000532.SH "SETUID INSTALLATION"
533If
534.B strace
535is installed setuid to root then the invoking user will be able to
536attach to and trace processes owned by any user.
537In addition setuid and setgid programs will be executed and traced
538with the correct effective privileges.
539Since only users trusted with full root privileges should be allowed
540to do these things,
541it only makes sense to install
542.B strace
543as setuid to root when the users who can execute it are restricted
544to those users who have this trust.
545For example, it makes sense to install a special version of
Wichert Akkerman8829a551999-06-11 13:18:40 +0000546.B strace
547with mode `rwsr-xr--', user
548.B root
549and group
550.BR trace ,
551where members of the
552.B trace
553group are trusted users.
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000554If you do use this feature, please remember to install
Wichert Akkerman8829a551999-06-11 13:18:40 +0000555a non-setuid version of
556.B strace
557for ordinary lusers to use.
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000558.SH "SEE ALSO"
Wichert Akkerman8829a551999-06-11 13:18:40 +0000559.BR ptrace (2),
560.BR proc (4),
561.BR time (1),
562.BR trace (1),
563.BR truss (1)
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000564.SH NOTES
565It is a pity that so much tracing clutter is produced by systems
566employing shared libraries.
567.LP
568It is instructive to think about system call inputs and outputs
569as data-flow across the user/kernel boundary. Because user-space
570and kernel-space are separate and address-protected, it is
571sometimes possible to make deductive inferences about process
572behavior using inputs and outputs as propositions.
573.LP
574In some cases, a system call will differ from the documented behavior
Wichert Akkerman8829a551999-06-11 13:18:40 +0000575or have a different name. For example, on System V-derived systems
576the true
577.BR time (2)
578system call does not take an argument and the
579.B stat
580function is called
581.B xstat
582and takes an extra leading argument. These
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000583discrepancies are normal but idiosyncratic characteristics of the
584system call interface and are accounted for by C library wrapper
585functions.
586.LP
587On some platforms a process that has a system call trace applied
588to it with the
589.B \-p
590option will receive a
591.BR \s-1SIGSTOP\s0 .
592This signal may interrupt a system call that is not restartable.
593This may have an unpredictable effect on the process
594if the process takes no action to restart the system call.
595.SH BUGS
596Programs that use the
597.I setuid
598bit do not have
599effective user
600.SM ID
601privileges while being traced.
602.LP
603A traced process ignores
604.SM SIGSTOP
Nate Sammonsb4aa1131999-03-31 05:59:04 +0000605except on SVR4 platforms.
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000606.LP
607A traced process which tries to block SIGTRAP will be sent a SIGSTOP
608in an attempt to force continuation of tracing.
609.LP
610A traced process runs slowly.
611.LP
612Traced processes which are descended from
613.I command
614may be left running after an interrupt signal (\c
615.SM CTRL\s0-C).
616.LP
617On Linux, exciting as it would be, tracing the init process is forbidden.
618.LP
619The
620.B \-i
621option is weakly supported.
622.SH HISTORY
623.B strace
Wichert Akkerman8829a551999-06-11 13:18:40 +0000624The original
625.B strace
626was written by Paul Kranenburg
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000627for SunOS and was inspired by its trace utility.
Wichert Akkerman8829a551999-06-11 13:18:40 +0000628The SunOS version of
629.B strace
630was ported to Linux and enhanced
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000631by Branko Lankester, who also wrote the Linux kernel support.
Wichert Akkerman8829a551999-06-11 13:18:40 +0000632Even though Paul released
633.B strace
6342.5 in 1992,
635Branko's work was based on Paul's
636.B strace
6371.5 release from 1991.
638In 1993, Rick Sladkey merged
639.B strace
6402.5 for SunOS and the second release of
641.B strace
642for Linux, added many of the features of
643.BR truss (1)
644from SVR4, and produced an
645.B strace
646that worked on both platforms. In 1994 Rick ported
647.B strace
648to SVR4 and Solaris and wrote the
649automatic configuration support. In 1995 he ported
650.B strace
651to Irix
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000652and tired of writing about himself in the third person.
653.SH PROBLEMS
654Problems with
655.B strace
Roland McGrath4a9b49a2003-01-14 23:40:55 +0000656should be reported via the Debian Bug Tracking System,
657or to the
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000658.B strace
Roland McGrath4a9b49a2003-01-14 23:40:55 +0000659mailing list at <strace-devel@lists.sourceforge.net>.