History log of /external/ltrace/Makefile.am
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/Makefile.am
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/Makefile.am
ff5606a61647623b1f490a91a985e55c1ee6253d 23-Oct-2013 Petr Machata <pmachata@redhat.com> Split ltrace.conf into libc.so.conf and libacl.so.conf; add libm.so.conf

- This won't work as is--if libc.so.6.conf isn't found, ltrace needs
to keep looking for libc.so.conf.
/external/ltrace/Makefile.am
82f748d1bc2b95d594327ad15f3a6908070dd5c3 23-Oct-2013 Petr Machata <pmachata@redhat.com> System calls are now part of dedicated symbol library

- This symbol library is still special in that symbols are created on
demand and never actually added. It just serves as a link to
protolibrary with system call prototypes, and has a name (SYS).

- Prototypes for system calls were moved to a dedicated prototype
library called syscalls.conf.

- Because it's undesirable to look up syscall prototypes in anything
but the dedicated syscall protolib, prototype.c/.h now understand
that some lookups shouldn't be done recursively (and so we never
pick the definition from -F file that just happens to have the same
name as a system call). The good thing is that now libraries can
actually use symbols named SYS_something without clashing with
system call prototypes.

- One test case needed to be updated, because we now display system
calls as something@SYS instead of SYS_something.
/external/ltrace/Makefile.am
21162294ffcb3238e41749a3f056b54c21cf296c 01-Sep-2013 Petr Machata <pmachata@redhat.com> Drop mention of ltrace.spec from Makefile.am
/external/ltrace/Makefile.am
1721fc956dfe30fd5dc5a49238c376ccbfdfd9d9 21-Jan-2013 Petr Machata <pmachata@redhat.com> Extract the function bitcount to a separate module
/external/ltrace/Makefile.am
7e6f2b3bd1c606c731a102f5417ff0caaf393f42 04-Dec-2012 Petr Machata <pmachata@redhat.com> The define -DSYSCONFDIR should be visible across the whole build

Also, drop libelf_CFLAGS from AM_CPPFLAGS. That's an obvious mismatch,
and all other libraries are configured in configure.ac.
/external/ltrace/Makefile.am
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/Makefile.am
2ae374a196ca76406cd14503622060c2c5dc4cef 08-Dec-2012 Petr Machata <pmachata@redhat.com> Don't rely on availability of open_memstream

- configure now checks for availability of either of open_memstream
and tmpfile.
- new module memstream uses either of these to create a portable
memory stream
/external/ltrace/Makefile.am
036fb18dc5e4a5ad2d3ab6e97c43acf83e406efd 04-Dec-2012 Petr Machata <pmachata@redhat.com> Fix detection of libunwind

This needs to be checked in three steps, adding dependent libraries one
after another. It also isn't necessary to have three variables to keep
track of what's one conceptual unit, so drop libunwind_{ptrace,arch}_LIBS.
/external/ltrace/Makefile.am
808d64b901e8a57ec77b865556f4d6905e5eba83 10-Nov-2012 Petr Machata <pmachata@redhat.com> ltrace.conf.5 needs to be installed to man5
/external/ltrace/Makefile.am
e99af270a60891e68d465c4cd97dbe29cd1a05e4 26-Oct-2012 Petr Machata <pmachata@redhat.com> Update copyright information and license headers
/external/ltrace/Makefile.am
b5f76339d0cbe94196093c73e8dffa9ef463fddd 25-Oct-2012 Petr Machata <pmachata@redhat.com> Add new files to Makefile.am
/external/ltrace/Makefile.am
a24021c5abfa8c2482e3224f14ac191cd0826a8f 25-Sep-2012 Petr Machata <pmachata@redhat.com> Extract enum callback_status to a separate module

Document the interface, refer to this documentation at declarations of
each_* functions.
/external/ltrace/Makefile.am
648b8f62f2ea57fbd74c735a73817866ff6b31b3 31-Aug-2012 Petr Machata <pmachata@redhat.com> Add forgotten header files to Makefile.am
/external/ltrace/Makefile.am
c07a26a8d0f86bc4137eb7b7fea8bbf9021275f1 09-Jan-2012 Petr Machata <pmachata@redhat.com> Add enum lens, drop ARGTYPE_ENUM
/external/ltrace/Makefile.am
31af32cfcd61671cbb5e567870103766b3231521 08-Jan-2012 Petr Machata <pmachata@redhat.com> Add lenses

- this adds the lens framework, although there are currently no interesting
lenses. display_args.c was mostly moved to lens_default.c
/external/ltrace/Makefile.am
642626096a694c6af279d25d2b1b2fba5b10ddfb 07-Jan-2012 Petr Machata <pmachata@redhat.com> Add backend.h for backend interfaces
/external/ltrace/Makefile.am
940ec0650bfe0f1deda96d3561be3d0006df92fc 06-Jan-2012 Petr Machata <pmachata@redhat.com> Introduce printf module, drop ARGTYPE_FORMAT
/external/ltrace/Makefile.am
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/Makefile.am
d7b2292789462475ead5986c2dea25a0b8623f7d 06-Jan-2012 Petr Machata <pmachata@redhat.com> Add module zero.c/zero.h
/external/ltrace/Makefile.am
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/Makefile.am
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/Makefile.am
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/Makefile.am
a0a6a54a41d828c9a018829033443b0faabefb2f 03-Jan-2012 Petr Machata <pmachata@redhat.com> New module for implementation of array that can grow on demand
/external/ltrace/Makefile.am
cdd17b88c22f8dd50fef823a9cfff2098a43a79d 01-Jun-2012 Petr Machata <pmachata@redhat.com> We should look for demangle in libstdc++ as well
/external/ltrace/Makefile.am
090f7d386e02207295377740586e320dce90a27d 06-Mar-2011 Michael K. Edwards <m.k.edwards@gmail.com> Save copies of libtool m4 macros in config/m4 (to make autoreconf -fiv happy)
/external/ltrace/Makefile.am
1bbfbc6c6a7b7706bf4e8bf152d7ffc28453c3bd 31-Mar-2012 Petr Machata <pmachata@redhat.com> Add glob.c/.h, filter.c/.h

- these should be useful when implementing filtering expressions
/external/ltrace/Makefile.am
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/Makefile.am
d0fafff5e3722daa00676b2f12111ffa77d57e16 09-Dec-2010 Zachary T Welch <zwelch@codesourcery.com> Switch CPPFLAGS and LDFLAGS to AM_ variants

Like CFLAGS, CPPFLAGS and LDFLAGS should not be set directly by the
configure script, because the user can override them during 'make' (and
that will break the build). Instead, the AM_CPPFLAGS and AM_LDFLAGS
variables must be used to set options from configure; so, make it so.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
/external/ltrace/Makefile.am
aae034cb7d3dcc5b47d1e0a722156f2a8e40dceb 07-Dec-2010 Zachary T Welch <zwelch@codesourcery.com> Update EXTRA_DIST for renamed file

Fixes 'make dist' to work with new Debian 'control' file name.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
/external/ltrace/Makefile.am
3a9d1e753b6228347fc04c1f0a7a7fbb7147ec9a 05-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Convert testsuite to use autotools

Punts all of the dejagnu magic into automake.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
/external/ltrace/Makefile.am
80a259b496ec3a7dd964fa7afbe6c265f8ce931e 05-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Add config.h.in{, ~} to MAINTAINERCLEANFILES

These artifacts are created/updated by running 'autoreconf'.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
/external/ltrace/Makefile.am
37abc90c3ff3393ed077bbfd82a0b76b6d04630e 05-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Remove superfluous files from distribution

The autogen.sh script is only required when working out of the
Git repository, so it should not be distributed. Likewise, the
.gitignore file does not serve any purpose in the distribution.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
/external/ltrace/Makefile.am
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/Makefile.am
584929c4409d55c3483caca7bdf6ba85f5b20f14 03-Feb-2010 Marc Kleine-Budde <mkl@pengutronix.de> autotoolization: add basic autotools infrastructure

This patch add a basic autotools infrastructure to ltrace. Native
compilation on i386, x86_64 and ppc. Cross compilation has been tested
against arm.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
/external/ltrace/Makefile.am