summaryrefslogtreecommitdiff
path: root/options.h
AgeCommit message (Collapse)AuthorFilesLines
2014-08-22Normalize some include guardsPetr Machata1-3/+4
2014-08-22Add support for using elfutils as unwinder.Mark Wielaard1-2/+2
This adds support for using elfutils as unwinder with -w. Since elfutils 0.158 elfutils contains a simple unwinder interface that matches nicely on the ltrace backtrace support. The code reuses the libunwind infrastructure already in ltrace where possible (by defining HAVE_UNWINDER which is 1 if either libunwind or elfutils is used). It also reuses the ltrace proc_add_library callback to keep track of the ELF files mapped for the unwinder. The current implementation matches the output as if libunwind was used. But elfutils can also provide some more information since it can lookup the DWARF debuginfo. So if the source info of an address can be found through elfutils the backtrace will also include this as an additional output line per frame.
2014-08-22Consider exec and exit events an end of outstanding callsPetr Machata1-7/+1
- 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.
2014-08-22Imported Upstream version 0.7.91upstream/0.7.91upstreamChanho Park1-7/+44
2013-01-15Imported Upstream version 0.7.2upstream/0.7.2Anas Nashif1-30/+52
2012-11-13Imported Upstream version 0.5.3upstream/0.5.3Anas Nashif1-0/+55