aboutsummaryrefslogtreecommitdiff
path: root/options.h
diff options
context:
space:
mode:
authorJuan Cespedes <cespedes@debian.org>2008-12-16 19:50:16 +0100
committerJuan Cespedes <cespedes@debian.org>2008-12-16 19:50:16 +0100
commitb65bdc581f1ff747a53a1e2494d1cebb56453cb2 (patch)
tree1d9efb3aa1ed34d5dcdbbfce408e2e6727ab21ad /options.h
parentce377d567ccc0b14693619b69ebe0ac6deb0ba90 (diff)
downloadltrace-b65bdc581f1ff747a53a1e2494d1cebb56453cb2.tar.gz
More fields to struct "options"
Substituted opt_* with options.indent, options.output
Diffstat (limited to 'options.h')
-rw-r--r--options.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/options.h b/options.h
index 78d271c..c74cbbb 100644
--- a/options.h
+++ b/options.h
@@ -11,10 +11,11 @@ struct options_t {
int syscalls; /* -S: display system calls */
int libcalls; /* -L: display library calls */
int demangle; /* -C: demangle low-level names into user-level names */
+ int indent; /* -n: indent trace output according to program flow */
+ FILE *output; /* output to a specific file */
};
extern struct options_t options;
-extern FILE *output;
extern int opt_A; /* default maximum # of array elements printed */
extern int opt_c; /* count time, calls, and report a summary on program exit */
extern int opt_d; /* debug */
@@ -23,9 +24,7 @@ extern int opt_s; /* default maximum # of bytes printed in strings */
extern int opt_f; /* trace child processes */
extern int opt_r; /* print relative timestamp */
extern int opt_t; /* print absolute timestamp */
-extern int opt_n; /* indent trace output according to program flow */
extern int opt_T; /* show the time spent inside each call */
-extern int opt_o; /* output to a specific file */
struct opt_p_t {
pid_t pid;