History log of /external/ltrace/options.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dfefa9f057857735a073ea655f5cb34351032c8e 07-Jan-2014 Mark Wielaard <mjw@redhat.com> Add support for using elfutils as unwinder.

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.
/external/ltrace/options.h
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/options.h
395a4e3ad6b03949fbe0a2818bfdec738da1c281 07-Jan-2013 Petr Machata <pmachata@redhat.com> Add guards around options.h
/external/ltrace/options.h
418584d25da07c5a9f7a61b74cfe713c1f8d7085 04-Dec-2012 Petr Machata <pmachata@redhat.com> Convert opt_F_t to support directories as well as files, store in vector

Also allow parsing colon-separated lists into opt_F. This will be useful
for -F as well as for parsing some environment variables.

This removes bits related to default directories to look into. This will
eventually be moved to os_get_config_dirs, currently it's simply disabled.
The code in libltrace.c is currently incompatible with opt_F being a vector,
so it's disabled as well. Revamp of the whole configury shebang underway.
/external/ltrace/options.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/options.h
8a9ad0863d8019360d96bbbd4460ffc7a8757933 04-Dec-2012 Petr Machata <pmachata@redhat.com> options.h needs to include sys/time.h for struct timeval tv
/external/ltrace/options.h
8a98e6f756c7e6a4171e7dee563f0efbb28b9f33 27-Oct-2012 Petr Machata <pmachata@redhat.com> Fix memory handling of -F arguments

This plugs a leak.
/external/ltrace/options.h
e99af270a60891e68d465c4cd97dbe29cd1a05e4 26-Oct-2012 Petr Machata <pmachata@redhat.com> Update copyright information and license headers
/external/ltrace/options.h
51e74aca71ff7e8be91c074afd4f2264f46294e9 27-Sep-2012 Petr Machata <pmachata@redhat.com> Add parsing of -l option
/external/ltrace/options.h
8bd9c19fd8e9864aeeddfbc60b044ededa66f84d 25-Sep-2012 Petr Machata <pmachata@redhat.com> Use forward.h instead of declaring structures
/external/ltrace/options.h
67fa52f4999bb9e37f426e0559bad66c2aedd5de 05-Apr-2012 Petr Machata <pmachata@redhat.com> Drop options.libcalls (but keep -L support)

- -L becomes just a way of configuring options.plt_filter default
/external/ltrace/options.h
796267f3370f37bc3b7657b53c6eda16bab3c930 04-Apr-2012 Petr Machata <pmachata@redhat.com> options.no_plt is useless

- or, as of now, it's used to decide whether or not we should display
"unexpected breakpoint" messages
/external/ltrace/options.h
da3edbf059fe6c6d010b47ac50876783b4ed49ce 04-Apr-2012 Petr Machata <pmachata@redhat.com> Elementary support for -x

- this is applied across libraries. Syntax for the -x option is the same
as for -e
- this fails on symbol aliases. E.g. there are several symbols named like
strlen in libc: strlen, __GI_strlen, and perhaps others. This needs to
be taken into account, and symbol aliases shouldn't be enabled if
they were added under a different name already
/external/ltrace/options.h
b5f80ac8982c40f79915ce1e1cb9bf8650ac5fe7 04-Apr-2012 Petr Machata <pmachata@redhat.com> Don't create PLT symbols that don't match filtering criteria

- instead of creating them, keeping them around, and then just not enabling
breakpoints for them
/external/ltrace/options.h
0367389718bc6e544b7ec42acb84f590c69d76ad 03-Apr-2012 Petr Machata <pmachata@redhat.com> Hide caller unless custom -e is passed
/external/ltrace/options.h
1e4fed2719443c9de3831b359ff516888114783f 01-Apr-2012 Petr Machata <pmachata@redhat.com> Drop opt_e{,_t,_enable}, use filter.h/.c to implement -e parsing
/external/ltrace/options.h
ba6aca21bd9e0e66dac17b1828cf6b6e7377b983 09-Dec-2010 Zachary T Welch <zwelch@codesourcery.com> Fix building with --enable-debug

Numerous warnings had snuck into the build, preventing ltrace from
building with --enable-debug (which uses -Wall, -Werror, and more).
This patch fixes the problems, mostly caused by -Wsign-compare.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
/external/ltrace/options.h
7b0a7dea2ca8f98bb530e60bf5ffd9d82f445cb5 09-Nov-2010 Joe Damato <ice799@gmail.com> Keep a count of the number of -x options passed on the command line.
/external/ltrace/options.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/options.h
59e3fb19c861f963270e81fc77fd497961ed5d49 07-Nov-2009 Joe Damato <ice799@gmail.com> Add -b, --no-signals to silence signal print outs.
/external/ltrace/options.h
fa2aefc32eb4196966a14d1e7def931652f40d46 31-Oct-2010 Joe Damato <ice799@gmail.com> Merge -g option which avoids tracing libraries linked at compile time.
/external/ltrace/options.h
8d1b92ba755f6d6229f5e230fc43d958b13836f8 03-Jul-2009 Juan Cespedes <cespedes@coco.thehackers.org> Some minor fixes
/external/ltrace/options.h
cc813cd481c74ee4861baa5dd6154c3f234c7901 07-Apr-2009 Juan Cespedes <cespedes@debian.org> More fields to struct "options", same output with or without -o

(opt_s, opt_f)
/external/ltrace/options.h
da9b953284966b8c52de43713ebb5b503756e468 07-Apr-2009 Juan Cespedes <cespedes@debian.org> More fields to struct "options"

(opt_c, opt_d, opt_A)
/external/ltrace/options.h
b65bdc581f1ff747a53a1e2494d1cebb56453cb2 16-Dec-2008 Juan Cespedes <cespedes@debian.org> More fields to struct "options"

Substituted opt_* with options.indent, options.output
/external/ltrace/options.h
ce377d567ccc0b14693619b69ebe0ac6deb0ba90 16-Dec-2008 Juan Cespedes <cespedes@debian.org> Added global struct "options"

Substituted opt_* with options.align, options.user, options.syscalls,
options.libcalls, options.demangle
/external/ltrace/options.h
aee093126654f722523b47848a0c5449e39cf4bb 31-Aug-2007 Juan Cespedes <cespedes@debian.org> Some random fixes

* General: Small fixes (indentation, typos, clean-up of code)
* ltrace.c: Close output file on exit
* ltrace.c: use getenf("HOME") instead of getpwuid(geteuid())->pw_dir
* read_config_file.c, display_args.c: remove "ignore" argtype;
that's what "void" is for
* packaging/debian/: misc fixes, sync with version 0.5-1
* etc/ltrace.conf: added more system calls
* testsuite/ltrace.minor/trace-clone.c: sleep(1) to avoid earlier
termination of process
* sysdeps/linux-gnu/trace.c: trace_pid(): reverted Petr's patch
to wait for child to stop, as it stopped following clone()
* process_event.c: Disable breakpoints before doing fork() (again!),
to make children work as expected
/external/ltrace/options.h
1150bc4b812f0150e832607b8724b023d6d7d575 07-Aug-2006 Steve Fink <sphink@gmail.com> array arguments
/external/ltrace/options.h
58c73a7a905ddcb0521178c6fe8f693c6096612e 17-Jul-2006 Steve Fink <sphink@gmail.com> add -F option to read in config files
/external/ltrace/options.h
24e643aceb96789baf3a6e2872807670f8dbf97a 13-Mar-2006 Paul Gilliam <pgilliam@us.ibm.com> fix the -x processing to get rid of bad waring.
/external/ltrace/options.h
2d45b1a8e26a36a9f85dc49e721c4390ca93dc40 20-Feb-2006 Ian Wienand <ianw@ieee.org> run Lindent over source to get everything looking about the same
/external/ltrace/options.h
9a2ad351a1c3215dc596ff3e2e3fd4bc24445a6b 20-Feb-2006 Ian Wienand <ianw@ieee.org> Switched to SVN (initial import)
/external/ltrace/options.h
d914a206a11cc1011a45f00674b1e16988fae77f 10-Nov-2004 Juan Cespedes <cespedes@debian.org> Version: 0.3.36

* Fixed "--indent" option
* Got rid of Debian and RedHat specific parts in tarball
/external/ltrace/options.h
d65efa37b1fd73305ce4469841dc760514d74202 03-Feb-2003 Juan Cespedes <cespedes@debian.org> 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)
/external/ltrace/options.h
a4850831bf4b4548af517335081b58cf006fd168 03-Mar-2002 Juan Cespedes <cespedes@debian.org> Version 0.3.21

* Get rid of arch/breakpoint.c; we can do it arch-independent
/external/ltrace/options.h
5b3ffdf2e696273d38434ff7b3c26349fff5a0ea 02-Jul-2001 Juan Cespedes <cespedes@debian.org> Version: 0.3.11

* Clean up lintian bugs
* Fixed small bug reading start of arguments in config file
* Keep a stack of nested calls (Morten Eriksen, 1999-07-04)
* Add "--indent" option (Morten Eriksen, 1999-07-04)
* cleans up connection between a breakpoint address and
a call instance (Morten Eriksen, 1999-07-04)
* New Standards-Version (3.5.5)
/external/ltrace/options.h
f666d191986d3b342cfa8b2e96ed90a49edf4303 20-Sep-1998 Juan Cespedes <cespedes@debian.org> Version: 0.3.4

* Added "ltrace.spec" to build a .rpm binary file.
* Added "-r" option
/external/ltrace/options.h
ac3db297f7c6f08b02a7edfb32e441875fd7c1d7 25-Apr-1998 Juan Cespedes <cespedes@debian.org> Version: 0.3.0

* Preliminary autoconf support
* Switched to getopt()
* New option: -C (demangle C++ names)
* New options: --help, --version
* Display "format" (printf-like) argument types
* Updated manual page
* New option: -e
/external/ltrace/options.h
5e0acdb26c98f0d95a5266e579669b5c19eb02ce 04-Apr-1998 Juan Cespedes <cespedes@debian.org> Version: 0.2.8

* Fix important bug regarding -p: disable all breakpoints on exit (Bug#20616)
* Compile cleanly on libc5
* Added `-t' option (Bug#20615)
/external/ltrace/options.h
e188705c4f1c5c8e377c2438114a99acaeaf8a3a 10-Mar-1998 Juan Cespedes <cespedes@debian.org> Version 0.2.1

* Added -u option (run command as other username)
* Updated manual page a bit
/external/ltrace/options.h
5e01f654d83a95f2acffa86df57a4c2db9b0cae9 08-Mar-1998 Juan Cespedes <cespedes@debian.org> Version 0.2.0

* First Debian unstable release
* Complete re-structured all the code to be able to add support for
different architectures (but only i386 arch is supported in this
version)
* Log also return values
* Log arguments (and return values) for syscalls
* Added preliminary support for various simultaneous processes
* getopt-like options
* New option: -a (alignment column)
* New option: -L (don't display library calls)
* New option: -s (maximum # of chars in strings)
* Now it reads config files with function names and parameter types
* Programs using clone() should work ok now
* debian/rules: gzipped only big files in /usr/doc/ltrace
* Debian: New Standards-Version: 2.4.0.0
* beginning to work on sparc port (not yet done)
/external/ltrace/options.h