summaryrefslogtreecommitdiff
path: root/defs.h
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2013-05-13 11:30:55 +0100
committerDmitry V. Levin <ldv@altlinux.org>2013-05-13 14:11:31 +0000
commit01997cf32d4492b9898283ced45e8a4a6fd161b8 (patch)
treef2ed4dc0c0519a09ad975fec55b95ae50e6791e6 /defs.h
parent8190912d2e97c9d18de65dc8a6fbd93750642bd3 (diff)
downloadstrace-01997cf32d4492b9898283ced45e8a4a6fd161b8.tar.gz
strace-01997cf32d4492b9898283ced45e8a4a6fd161b8.tar.bz2
strace-01997cf32d4492b9898283ced45e8a4a6fd161b8.tar.xz
Allow -q to be repeated for very quiet output
Even with the -q flag specified, tracing output is still mixed with messages about signals and process exit status, which is often irrelevant. Allow the -q option to be repeated to force the suppression of signals / exit status info too. * defs.h: Change 'qflag' from 'bool' to 'unsigned int'. * strace.1: Document ability to repeat '-q' option. * strace.c: Allow '-q' to be repeated to quieten process exit status and signal messages. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'defs.h')
-rw-r--r--defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/defs.h b/defs.h
index 291b8fb..58cdf99 100644
--- a/defs.h
+++ b/defs.h
@@ -539,7 +539,7 @@ typedef enum {
extern cflag_t cflag;
extern bool debug_flag;
extern bool Tflag;
-extern bool qflag;
+extern unsigned int qflag;
extern bool not_failing_only;
extern bool show_fd_path;
/* are we filtering traces based on paths? */