diff options
author | gjb <gjb@FreeBSD.org> | 2016-02-24 03:08:58 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2016-02-24 03:08:58 +0000 |
commit | 4719e40f5bedd0f88591120e071741635f07993b (patch) | |
tree | 49a06192925e7142aa0663349e04525093cb5671 /usr.bin/truss/main.c | |
parent | 9be9d7b0c99468cd184d9584e7d3ade2bf57c389 (diff) | |
parent | e115de5638e0f08ee561543041800c5e367c8c27 (diff) | |
download | FreeBSD-src-4719e40f5bedd0f88591120e071741635f07993b.zip FreeBSD-src-4719e40f5bedd0f88591120e071741635f07993b.tar.gz |
MFH
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.bin/truss/main.c')
-rw-r--r-- | usr.bin/truss/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/truss/main.c b/usr.bin/truss/main.c index 531d7db..38626fd 100644 --- a/usr.bin/truss/main.c +++ b/usr.bin/truss/main.c @@ -96,7 +96,7 @@ main(int ac, char **av) trussinfo->curthread = NULL; LIST_INIT(&trussinfo->proclist); init_syscalls(); - while ((c = getopt(ac, av, "p:o:facedDs:S")) != -1) { + while ((c = getopt(ac, av, "p:o:facedDs:SH")) != -1) { switch (c) { case 'p': /* specified pid */ pid = atoi(optarg); @@ -132,6 +132,9 @@ main(int ac, char **av) case 'S': /* Don't trace signals */ trussinfo->flags |= NOSIGS; break; + case 'H': + trussinfo->flags |= DISPLAYTIDS; + break; default: usage(); } |