8a730f3e5844b86386032e93f91aa3df814ad9c3 |
|
21-Nov-2013 |
Petr Machata <pmachata@redhat.com> |
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.
/external/ltrace/common.h
|
b1ab2aefa199ea8e14e29bac78ae71030c2d4863 |
|
07-Jan-2013 |
Petr Machata <pmachata@redhat.com> |
Consolidate two duplicate conditional strdup wrappers to strdup_if - Convert callers in prototype.c and library.c - Current placement in library.c is somewhat arbitrary. There currently doesn't seem to be a more suitable place. - The behavior subtly changed: in case of failure, RET is now unaffected.
/external/ltrace/common.h
|
ebc56a70e20ca0b3fc49c0eb5fc83e56c5e1fa5b |
|
17-Dec-2012 |
Petr Machata <pmachata@redhat.com> |
Introduce a module for managing prototypes and prototype libraries This is to be used, eventually, for keeping one prototype library per DSO. Right now we only have one prototype library, like before: g_prototypes. Typedef submodule is not yet used, only prototypes are stored in the protolib as of now. The change in Makefile.am is actually an inclusion of prototype.{c,h} followed by a rewrap of name lists.
/external/ltrace/common.h
|
8bf82d0625c5704d31961db7e0458b247300275c |
|
23-Nov-2012 |
Petr Machata <pmachata@redhat.com> |
Move opt_c_struct and dict_opt_c from common.h to options.h
/external/ltrace/common.h
|
3ac8db64ad80c4afacf06a97d0163c9f3f2c9e17 |
|
23-Nov-2012 |
Petr Machata <pmachata@redhat.com> |
Move demangling-related code from common.h to demangle.h Adjust users accordingly.
/external/ltrace/common.h
|
3d083b6326ab15015979c97c884a6104c1fa65f5 |
|
22-Nov-2012 |
Petr Machata <pmachata@redhat.com> |
Rename struct Function to struct prototype. Don't typedef it Rationale: more fitting name and coding style
/external/ltrace/common.h
|
d7e4ca82e1cf20bb2605befb1da74dd1688c706e |
|
28-Nov-2012 |
Petr Machata <pmachata@redhat.com> |
Rewrite dict module to be more in line with vect It's now a bit more strongly typed, can grow and shrink on demand, and has a more complete interface. It uses open addressing scheme to store hashes.
/external/ltrace/common.h
|
ba1664b062414481d0f37d06bb01a19874c8d481 |
|
28-Apr-2012 |
Petr Machata <pmachata@redhat.com> |
Fix compilation
/external/ltrace/common.h
|
642626096a694c6af279d25d2b1b2fba5b10ddfb |
|
07-Jan-2012 |
Petr Machata <pmachata@redhat.com> |
Add backend.h for backend interfaces
/external/ltrace/common.h
|
cd972587a4c0d14d764b3d0a43d75f5941db14cc |
|
07-Jan-2012 |
Petr Machata <pmachata@redhat.com> |
Move event-que declarations to sysdeps, new backend interface process_removed - the reason being that the que-handling was declared on global level, but was only implemented in one back end. If this is deemed generally useful, it should all be moved to front end, but as things are it's all the same, so I'm preferring the less invasive change
/external/ltrace/common.h
|
3a9bf6db1a56e0950eb94e9f429c4d40c1b2169e |
|
06-Jan-2012 |
Petr Machata <pmachata@redhat.com> |
Track arg_type_info ownership properly
/external/ltrace/common.h
|
865303f5abd934aff8e054ff8d8117e9cd36dda3 |
|
06-Jan-2012 |
Petr Machata <pmachata@redhat.com> |
Add module param.c/param.h - this allows support of parameter packs, which in particular enables re-introducing of "format" and others in a more systematic manner
/external/ltrace/common.h
|
f6ec08afb96292fd3c802c1f633d8de249664c72 |
|
06-Jan-2012 |
Petr Machata <pmachata@redhat.com> |
Add fetch.c/fetch.h, a module for fetching function arguments - this is now a thin wrapper over gimme_arg, ideally the backends will eventually use this right interface - in display_args.c, strip one layer of pointer wrapping, which is now done in output.c
/external/ltrace/common.h
|
37b73c0ab8cbcab4729df6d12f2dc846d4652310 |
|
06-Jan-2012 |
Petr Machata <pmachata@redhat.com> |
Drop LT_TOF_NONE, LT_TOF_STRUCT
/external/ltrace/common.h
|
97f13e3fca546aa292ba5d8aa6011338e64f2f7a |
|
06-Jan-2012 |
Petr Machata <pmachata@redhat.com> |
Drop unused interfaces save_register_args, struct stack_element.arch_ptr
/external/ltrace/common.h
|
46a41f7c72828f2f43a640e0ce1fbb41d7a196e9 |
|
06-Jan-2012 |
Petr Machata <pmachata@redhat.com> |
Drop umovestr, umovelong that are not used anymore
/external/ltrace/common.h
|
94078ecce3a103c28457e6f90f1e5b0dacc61146 |
|
05-Jan-2012 |
Petr Machata <pmachata@redhat.com> |
Add expr.c, expr.h, plug in properly - in callstack_pop, we don't free arch_ptr. That's because this doesn't get copied over the clone. It's a mere coincidence that fork() doesn't need to save register arguments, and this works. - added copyright notices to files that this touches. This is based on git blame. Only contributors of 10+ lines are added - test suite adjusted to not include "void" type as "don't show this int". Back ends in general need to know the exact type, so this never worked anyway.
/external/ltrace/common.h
|
000e31195ad4ad30a0c80c93ab57a424e7d8d918 |
|
03-Jan-2012 |
Petr Machata <pmachata@redhat.com> |
Add type.c/.h, value.c/.h, value_dict.c/.h - none of this is plugged in yet - expr.c/.h is not in yet, so we still express array length with len_spec integer. Some function are mocked out so the thing compiles
/external/ltrace/common.h
|
f48031c60b05113194ad6dc2163ce3895a6b8d80 |
|
07-Feb-2012 |
Petr Machata <pmachata@redhat.com> |
Create breakpoint.h with decls related to breakpoints
/external/ltrace/common.h
|
cdd17b88c22f8dd50fef823a9cfff2098a43a79d |
|
01-Jun-2012 |
Petr Machata <pmachata@redhat.com> |
We should look for demangle in libstdc++ as well
/external/ltrace/common.h
|
2eb941ddadeec2382a45a1e4e80003dc8abe59d0 |
|
05-May-2012 |
Petr Machata <pmachata@redhat.com> |
Drop process_get_entry, which is not useful right now
/external/ltrace/common.h
|
d7b63328ff456817f8d9f14e8c7ecfe340e12c8e |
|
26-Apr-2012 |
Petr Machata <pmachata@redhat.com> |
Update coding style in lines that we change vs. master anyway
/external/ltrace/common.h
|
e0615ab04b1bd376aae61c62d77fa6bda219f326 |
|
17-Apr-2012 |
Petr Machata <pmachata@redhat.com> |
The interface arch_elf_init now takes library as one argument
/external/ltrace/common.h
|
93d95dff48698b8bde511c7f71acda7646da2626 |
|
17-Apr-2012 |
Petr Machata <pmachata@redhat.com> |
Add ARCH_HAVE_DYNLINK_DONE
/external/ltrace/common.h
|
994ad6d3da0bea9bed176ce600ec513bfca238c2 |
|
17-Apr-2012 |
Petr Machata <pmachata@redhat.com> |
Add ARCH_HAVE_LIBRARY_DATA customization point
/external/ltrace/common.h
|
744f255ed0d676896dbe2f326b9c353c56438f0a |
|
15-Apr-2012 |
Petr Machata <pmachata@redhat.com> |
Add arch_process arch hooks for per-arch struct Process customization
/external/ltrace/common.h
|
24c6e9daa8d89e13c19fc3f9a475ba7913d7d9c8 |
|
15-Apr-2012 |
Petr Machata <pmachata@redhat.com> |
Add arch_library_symbol arch hooks, call properly
/external/ltrace/common.h
|
d3cc9889fdfe2e523e99ca5f664f8ae4b3936612 |
|
13-Apr-2012 |
Petr Machata <pmachata@redhat.com> |
Fix breakpoint cloning
/external/ltrace/common.h
|
18bd8ffa003c680e3d44d1b05fc3a7b43e6a25ce |
|
10-Apr-2012 |
Petr Machata <pmachata@redhat.com> |
Add auxv reader We should be able to instrument dynamic linker as well, if that is requested. Unfortunately we may still need artificial _start probe, because we don't know _r_debug address until the dynamic linker fills the DT_DEBUG entry. (Though we are likely to find _r_debug in symbol table if we look.)
/external/ltrace/common.h
|
93327cef38b3c09a88ca293ab52d6f5b6078f187 |
|
10-Apr-2012 |
Petr Machata <pmachata@redhat.com> |
The variable main_lte was dropped - ... because we can trace more than one process and there is no "main" LTE
/external/ltrace/common.h
|
3ed2a4227d5f2a8d44f3c6ffd704a9d2e867c591 |
|
06-Apr-2012 |
Petr Machata <pmachata@redhat.com> |
Drop PID parameter from trace_set_options
/external/ltrace/common.h
|
52dbfb161efeab85bddc880966db2f7af9b9cf9a |
|
29-Mar-2012 |
Petr Machata <pmachata@redhat.com> |
Shuffle breakpoint functions around
/external/ltrace/common.h
|
8cce1193ebd35cb5a8b288bc7325cdda1b8ffe50 |
|
25-Mar-2012 |
Petr Machata <pmachata@redhat.com> |
Add arch_breakpoint_destroy as a counterpart to arch_breakpoint_init - even though we don't destroy breakpoints at all right now
/external/ltrace/common.h
|
4d9a91c5c677d6a6b2db21f00385bce5167373c4 |
|
24-Mar-2012 |
Petr Machata <pmachata@redhat.com> |
Add arch_elf_destroy
/external/ltrace/common.h
|
e6523e69b0230fef8dddbf628e0511a004203eb8 |
|
24-Mar-2012 |
Petr Machata <pmachata@redhat.com> |
Don't require target library as part of symbol init
/external/ltrace/common.h
|
644d669f96c0fe261fe938cecda41938e804c7d9 |
|
24-Mar-2012 |
Petr Machata <pmachata@redhat.com> |
Drop recently introduced arch_elf_dynamic_tag
/external/ltrace/common.h
|
e67635d6dcecb0f44448a5329d69fd0de74ebaba |
|
21-Mar-2012 |
Petr Machata <pmachata@redhat.com> |
Move arch-specific bits from ltrace-elf.c to PPC and MIPS back ends
/external/ltrace/common.h
|
c805c624d4cd23674bbc18f9d0f97c5d8dcdff7c |
|
02-Mar-2012 |
Petr Machata <pmachata@redhat.com> |
wait_for_proc may fail, and should simply waitpid instead of ptracing - which means that we need to continue the process after starting it, the same as we do when attaching
/external/ltrace/common.h
|
2b46cfc1127d390eddd9593fe5ce5399c1f68130 |
|
18-Feb-2012 |
Petr Machata <pmachata@redhat.com> |
The first crude version of tracing across libraries - the patch will be sliced later
/external/ltrace/common.h
|
a7db59c355cef464073496221ad27519a48466f9 |
|
10-Feb-2012 |
Petr Machata <pmachata@redhat.com> |
New interface library_symbol_init
/external/ltrace/common.h
|
366c2f46d844f040458df9b7e35fc3b8527ed2d3 |
|
09-Feb-2012 |
Petr Machata <pmachata@redhat.com> |
Move process-related functions and structures to proc.h
/external/ltrace/common.h
|
61196a4a81e77322bf1f3dc609007f5d35a5103a |
|
07-Feb-2012 |
Petr Machata <pmachata@redhat.com> |
Drop Process::breakpoints_enabled
/external/ltrace/common.h
|
9294d82f67e20f5f2b61f317ad04f5cb717c7d27 |
|
07-Feb-2012 |
Petr Machata <pmachata@redhat.com> |
Create breakpoint.h with decls related to breakpoints
/external/ltrace/common.h
|
ffe4cd25089680daf1bd1ec0114d177ec3e0cf95 |
|
11-Apr-2012 |
Petr Machata <pmachata@redhat.com> |
Handle detach from sleeping or unresponsive processes
/external/ltrace/common.h
|
cec06ec8282c538a40bde968ae36fe8356daffaa |
|
10-Apr-2012 |
Petr Machata <pmachata@redhat.com> |
Warn when we fail to trace and SELinux boolean deny_ptrace is in effect
/external/ltrace/common.h
|
b4f9e0c0413c03ad897d7aad320a4a1cd49c467a |
|
07-Feb-2012 |
Petr Machata <pmachata@redhat.com> |
Fix a race between fork/trace_me and first ptrace request - That first ptrace may fail if ltrace is too quick
/external/ltrace/common.h
|
43d2fe5436d39da0b1ff6648fc0dfd766d28243e |
|
02-Nov-2011 |
Petr Machata <pmachata@redhat.com> |
Don't queue sysret events - That's because on s390x, we use process call stack to actually figure out whether it's a syscall/sysret event, and if it's sysret, then what syscall it returns from. So we need to keep the stack in sync with reality.
/external/ltrace/common.h
|
534e00fcdb63af352414f5bf180ec392157b1a2b |
|
27-Sep-2011 |
Petr Machata <pmachata@redhat.com> |
Clone breakpoint dictionary as well as library symbols - ... and do neither if it's not a leader thread. It that case we take all this from the leader thread.
/external/ltrace/common.h
|
cbe29c6c0ad01839a81272c4715ea73d17e89611 |
|
27-Sep-2011 |
Petr Machata <pmachata@redhat.com> |
Basic support for tracing vfork - allow even individual tasks to have their event handlers. These are called in precedence to the thread group event handlers. - distinguish CLONE and VFORK events - add methods for dynamic changes of leader - add new process status ps_sleeping
/external/ltrace/common.h
|
1974dbccbf10a2dd8e06724d2fb4eb61fd91076a |
|
19-Aug-2011 |
Petr Machata <pmachata@redhat.com> |
Fix serious race in attach to many-threaded process - the gist is that tasks continue running while we attach, so more tasks come into existence, or the ones that we didn't attach to yet disappear, etc. - besides, we really can't enable breakpoints before we are done attaching, otherwise the still-running tasks risk running into them and dying of SIGTRAP.
/external/ltrace/common.h
|
617ff0bb228c64df4bb6682321338aecfec2d170 |
|
06-Oct-2011 |
Petr Machata <pmachata@redhat.com> |
Type the "process_status" interface properly - and in implementation for linux-gnu, reflect that some kernels don't distinguish job-control stop and tracing stop by different letter.
/external/ltrace/common.h
|
602330f458e8049ec07685c4e02f0368821a2d2c |
|
09-Jul-2011 |
Petr Machata <pmachata@redhat.com> |
Handle multi-threaded attach/detach gracefully
/external/ltrace/common.h
|
98f0992f9c3fd5da41a4928407251d9f5a837702 |
|
09-Jul-2011 |
Petr Machata <pmachata@redhat.com> |
Use custom event handler for implementation of stop-the-world - ... which itself is necessary for breakpoint re-enablement without races
/external/ltrace/common.h
|
4007d74c2435ce4b50305d64ffe831627f989335 |
|
09-Jul-2011 |
Petr Machata <pmachata@redhat.com> |
Facility for custom event handler
/external/ltrace/common.h
|
69a03e6f8c15fb0272089e387a658acad887fb9c |
|
09-Jul-2011 |
Petr Machata <pmachata@redhat.com> |
Event queue
/external/ltrace/common.h
|
9a5420c82a2fd81681572a2e3859ea1671c3bded |
|
09-Jul-2011 |
Petr Machata <pmachata@redhat.com> |
Add a concept of tasks and leader thread
/external/ltrace/common.h
|
cebb88491e68bdf4d466b03970c9ca77f65615f8 |
|
09-Jul-2011 |
Petr Machata <pmachata@redhat.com> |
Conceal the list of processes behind an interface
/external/ltrace/common.h
|
c7585b60235268e1f62bd91c5f040ef6df6e0ef3 |
|
08-Jul-2011 |
Petr Machata <pmachata@redhat.com> |
Add argument that defines whether we should enable breakpoints
/external/ltrace/common.h
|
f789c9c0d1f3301afad66e5f0520b9093665f242 |
|
09-Jul-2011 |
Petr Machata <pmachata@redhat.com> |
Pass Process * instead of pid to a couple functions
/external/ltrace/common.h
|
a06eb81c170a09ba6ca7e169ab4782b9fc7d4c03 |
|
08-Jul-2011 |
Petr Machata <pmachata@redhat.com> |
common.h: include config.h
/external/ltrace/common.h
|
1b17dbf4c3754018310f22e26effffdcffde47ab |
|
08-Jul-2011 |
Petr Machata <pmachata@redhat.com> |
Streamline interfaces execute_program, open_program
/external/ltrace/common.h
|
cc947516b7a76aa21095d8c3563a19a399bf628c |
|
08-Jul-2011 |
Petr Machata <pmachata@redhat.com> |
Drop field type_being_displayed
/external/ltrace/common.h
|
ef4428ad284e7c10aaf04a6e62b41e8eb0cc2852 |
|
06-Mar-2011 |
Michael K. Edwards <m.k.edwards@gmail.com> |
Multiple-inclusion guard for common.h
/external/ltrace/common.h
|
f0bd98b3e6753d8609a3054a61f2df6f9cdac10a |
|
09-Nov-2010 |
Joe Damato <ice799@gmail.com> |
Add support for tracing functions in libraries loaded at runtime (via libdl).
/external/ltrace/common.h
|
7a2bdf8e5bf49d2fbb700981efd1d0a8728340ed |
|
09-Nov-2010 |
Joe Damato <ice799@gmail.com> |
Make some functions and datastructures global. Definitely a hack.
/external/ltrace/common.h
|
dfa3fa3879b12ca7307b42a3feb79f42e60a90b0 |
|
09-Nov-2010 |
Joe Damato <ice799@gmail.com> |
Add umovebytes to move a range of bytes from the traced process to ltrace
/external/ltrace/common.h
|
211f0886c5aeceebacb44e3ae84d6b8f931cedf2 |
|
03-Nov-2010 |
Petr Machata <pmachata@redhat.com> |
Fix output of return arguments in nested calls on x86_64
/external/ltrace/common.h
|
ab3b72cc5d2d3efb3542192f0d72ff2ea4b082f9 |
|
31-Oct-2010 |
Joe Damato <ice799@gmail.com> |
Add -w/--where to show backtraces of traced functions. - add libunwind as a dep to configure - add a command line option to show backtraces from traced library functions - best guess at autoconf stuff, seems to work x86_64 and i686 - NOT TESTED ON ANY OTHER PLATFORMS!
/external/ltrace/common.h
|
747c73d5b7d66d312a1b1a293e67f9ddf2f17d93 |
|
03-Feb-2010 |
Marc Kleine-Budde <mkl@pengutronix.de> |
rename elf.{c,h} into ltrace-elf.{c,h} This patch renames these files to avoid a conflict with the header files of the "libelfg0-dev" package. This avoids the "-iquote" magic. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
/external/ltrace/common.h
|
2a61d19bd244dadcde5009f1632cf14b95623e3d |
|
04-Jul-2009 |
Juan Cespedes <cespedes@coco.thehackers.org> |
Added set_return_addr() to sysdeps/linux-gnu/*/regs.c
/external/ltrace/common.h
|
8d1b92ba755f6d6229f5e230fc43d958b13836f8 |
|
03-Jul-2009 |
Juan Cespedes <cespedes@coco.thehackers.org> |
Some minor fixes
/external/ltrace/common.h
|
03192f890af95bf9abf5ea1c3dc0998f6b12550d |
|
03-Jul-2009 |
Juan Cespedes <cespedes@coco.thehackers.org> |
fixed configure.ac, renamed process_event -> handle_event
/external/ltrace/common.h
|
40dc6353a443f2eed64fcada3bcf305e56855b15 |
|
25-Jun-2009 |
Juan Cespedes <cespedes@debian.org> |
Added support for callbacks to libltrace
/external/ltrace/common.h
|
f728123bd75a65a6a1536e198c3c30719e494e71 |
|
25-Jun-2009 |
Juan Cespedes <cespedes@debian.org> |
Re-organize file names
/external/ltrace/common.h
|