- libglib
- libelf
- libdwarf (should be compiled with -fPIC)
- binutils
If you use glib 2.0 or higher, you should add CPPFLAGS=-DG_DISABLE_DEPRECATED
.
./configure CPPFLAGS="$(pkg-config --cflags glib-2.0) -DG_DISABLE_DEPRECATED -fPIC"
make
make install
$Id: README,v 1.6 2007/06/13 04:38:53 hamano Exp $
ftrace is a program that simply runs the specified command until it
exits. It intercepts and records the user define function calls which are
called by the executed process.
This command should be compiled with -g and -finstrument-functions
flags.
* Requirements
libglib-1.2
libelf
* Build
$ ./configure
$ make
# make install
* Usage
ftrace [ command [ arg ... ] ]