summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/truss/main.c2
-rw-r--r--usr.bin/truss/truss.14
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/truss/main.c b/usr.bin/truss/main.c
index d46d01e..5eec953 100644
--- a/usr.bin/truss/main.c
+++ b/usr.bin/truss/main.c
@@ -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;
diff --git a/usr.bin/truss/truss.1 b/usr.bin/truss/truss.1
index 7c148df..fb02cb4 100644
--- a/usr.bin/truss/truss.1
+++ b/usr.bin/truss/truss.1
@@ -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,
OpenPOWER on IntegriCloud