From 9591aa33a3fe92819a637d5d3dcca30b302b5eb6 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Thu, 21 Nov 2013 20:43:51 +0100 Subject: Consider exec and exit events an end of outstanding calls - This cleans up a lot of stuff. The actual substance is addition of account_current_callstack in handle_event.c (which however uses those cleaned-up interfaces). - trace-exec.exp was extended to check that the exec syscall can be seen in -c output. That's one of the symptoms of what this fixes. - This hides dict_opt_c in summary.c. It also gets rid of the global variable current_time_spent--instead, the information is passed via a function argument in a struct timedelta (so that we never confuse absolute time with relative). callstack_element.time_spent was renamed to .enter_time, as that is what it has always been. --- Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index d711aec..efcf18a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -54,10 +54,10 @@ ltrace_LDADD = \ noinst_HEADERS = bits.h backend.h breakpoint.h common.h debug.h \ defs.h demangle.h dict.h forward.h ltrace-elf.h ltrace.h \ - options.h output.h proc.h read_config_file.h library.h \ - filter.h glob.h vect.h type.h value.h value_dict.h callback.h \ - expr.h fetch.h vect.h param.h printf.h zero.h lens.h \ - lens_default.h lens_enum.h memstream.h prototype.h + options.h output.h proc.h read_config_file.h summary.h \ + library.h filter.h glob.h vect.h type.h value.h value_dict.h \ + callback.h expr.h fetch.h vect.h param.h printf.h zero.h \ + lens.h lens_default.h lens_enum.h memstream.h prototype.h dist_man1_MANS = ltrace.1 dist_man5_MANS = ltrace.conf.5 -- cgit v1.2.3