diff options
author | Juan Cespedes <cespedes@debian.org> | 2003-02-03 00:22:30 +0100 |
---|---|---|
committer | Juan Cespedes <cespedes@debian.org> | 2003-02-03 00:22:30 +0100 |
commit | d65efa37b1fd73305ce4469841dc760514d74202 (patch) | |
tree | 4ce0d1b6a940145d228432044c535040af649e2c /ltrace.h | |
parent | a0ccf39a68c0fcdf2165bde0f9b70ed12fc61cd8 (diff) | |
download | ltrace-d65efa37b1fd73305ce4469841dc760514d74202.tar.gz |
Version 0.3.30
* Implemented -T option (show time spent inside each call)
* Alphabetically sort options in help and manual page
* Added -c option (summary of calls on program exit)
Diffstat (limited to 'ltrace.h')
-rw-r--r-- | ltrace.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -2,6 +2,7 @@ #define _HCK_LTRACE_H #include <sys/types.h> +#include <sys/time.h> #include <stdio.h> #include "defs.h" @@ -70,6 +71,7 @@ struct callstack_element { } c_un; int is_syscall; void * return_addr; + struct timeval time_spent; }; #define MAX_CALLDEPTH 64 @@ -116,6 +118,12 @@ struct event { } e_un; }; +struct opt_c_struct { + int count; + struct timeval tv; +}; +extern struct dict * dict_opt_c; + extern struct process * list_of_processes; extern void * instruction_pointer; |