diff options
author | Juan Cespedes <cespedes@debian.org> | 2008-12-16 19:50:16 +0100 |
---|---|---|
committer | Juan Cespedes <cespedes@debian.org> | 2008-12-16 19:50:16 +0100 |
commit | b65bdc581f1ff747a53a1e2494d1cebb56453cb2 (patch) | |
tree | 1d9efb3aa1ed34d5dcdbbfce408e2e6727ab21ad /options.h | |
parent | ce377d567ccc0b14693619b69ebe0ac6deb0ba90 (diff) | |
download | ltrace-b65bdc581f1ff747a53a1e2494d1cebb56453cb2.tar.gz |
More fields to struct "options"
Substituted opt_* with options.indent, options.output
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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; |