Let -c imply -S (hide signal output).
Without this, the signals are shown seemingly randomly in the output before the final summary is shown. This is especially noticeable when there is not much output from the application being traced. Discussed with: jhb Relnotes: yes
This commit is contained in:
parent
c85c1e4bd7
commit
7f2c12c33e
@ -111,7 +111,7 @@ main(int ac, char **av)
|
||||
trussinfo->flags |= EXECVEARGS;
|
||||
break;
|
||||
case 'c': /* Count number of system calls and time. */
|
||||
trussinfo->flags |= COUNTONLY;
|
||||
trussinfo->flags |= (COUNTONLY | NOSIGS);
|
||||
break;
|
||||
case 'e': /* Print execve() environment strings. */
|
||||
trussinfo->flags |= EXECVEENVS;
|
||||
|
@ -1,6 +1,6 @@
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd October 5, 2015
|
||||
.Dd October 9, 2015
|
||||
.Dt TRUSS 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -37,7 +37,7 @@ Show the argument strings that are passed in each
|
||||
.Xr execve 2
|
||||
system call.
|
||||
.It Fl c
|
||||
Do not display individual system calls.
|
||||
Do not display individual system calls or signals.
|
||||
Instead, before exiting, print a summary containing for each system call:
|
||||
the total system time used,
|
||||
the number of times the call was invoked,
|
||||
|
Loading…
Reference in New Issue
Block a user