Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Port from CC_CHECK_CFLAGS_APPEND to AX_APPEND_COMPILE_FLAGS | Philip Withnall | 2011-09-19 | 5 | -313/+207 |
| | | | | | | AX_APPEND_COMPILE_FLAGS seems to be better maintained by the autoconf archive, and is what's used in PulseAudio. Everybody loves what's used in PulseAudio. | ||||
* | Port from ACX_PTHREAD to AX_PTHREAD | Philip Withnall | 2011-09-19 | 2 | -27/+57 |
| | | | | | This uses the latest version of the AX_PTHREAD macro from the autoconf archive: http://www.gnu.org/software/autoconf-archive/ax_pthread.html. | ||||
* | Update configure.ac macros | Philip Withnall | 2011-09-19 | 1 | -3/+2 |
| | | | | Based on the output of `autoupdate`. | ||||
* | Add some missing header, type and function checks to configure.ac | Philip Withnall | 2011-09-19 | 1 | -1/+8 |
| | | | | As picked up by `autoscan`. | ||||
* | Allow user-specified ordering of the summary table | Philip Withnall | 2011-09-19 | 2 | -29/+150 |
| | | | | | This is now supported by the --order command line argument or the MUTRACE_SUMMARY_ORDER environment variable. | ||||
* | Track total contention time for mutexes and rwlocks | Philip Withnall | 2011-09-19 | 1 | -27/+69 |
| | | | | | | | | | | | | | | | | | This adds the ability to track the total amount of time for which each mutex or rwlock is contended. Effectively, this is the amount of time which is spent blocked inside pthread_mutex_lock() and friends — we don't count time spent inside these functions if the mutex isn't busy, however (i.e. if pthread_mutex_trylock() doesn't return EBUSY). It is possible for the total contention time for a given mutex to exceed the total locked time. This can happen if the OS doesn't re-schedule a thread which is blocked on a mutex until some time after the thread which was holding the mutex unlocks it. This commit replaces the “max.Time[ms]” summary column with a new “cont.Time[ms]” column which lists the total contention time for each mutex. I believe this is more important/useful than the maximum locked time. | ||||
* | Disable deprecation warning for __malloc_hook | Philip Withnall | 2011-09-19 | 2 | -0/+6 |
| | |||||
* | Print out the summary when SIGUSR1 is received | Philip Withnall | 2011-09-19 | 1 | -11/+41 |
| | |||||
* | Fix some typos in output strings | Philip Withnall | 2011-09-19 | 2 | -5/+5 |
| | |||||
* | build-sys: minor copy/paste error fix | Lennart Poettering | 2010-02-21 | 1 | -1/+1 |
| | |||||
* | Delay the symbols name resolution. | Lénaïc Huard | 2010-02-21 | 1 | -16/+31 |
| | | | | | | | Retrieving the stacktrace is cheap, but resolving symbols name may be expansive. Delaying this process prevents program perturbation and saves process as the symbols name resolution is now done only for the displayed mutexes. | ||||
* | Demangle C++ symbols name | Lénaïc Huard | 2010-02-21 | 1 | -0/+8 |
| | |||||
* | Implement a mutex free version of backtrace() | Lénaïc Huard | 2010-02-21 | 2 | -2/+32 |
| | | | | | | The glibc version of backtrace() uses a mutex which is also used by C++ exception throwing. Using it in mutrace leads to dead lock when a C++ exception throws. | ||||
* | bump releasev0.2 | Lennart Poettering | 2009-10-07 | 1 | -1/+1 |
| | |||||
* | Add GPL3 to tree | Lennart Poettering | 2009-10-07 | 4 | -16/+690 |
| | | | | | See https://bugzilla.redhat.com/show_bug.cgi?id=523553 for an explanation. | ||||
* | Include signal.c on non-x86 archs | Michel Alexandre Salim | 2009-10-07 | 2 | -0/+2 |
| | |||||
* | add GPLv2 to packagev0.1 | Lennart Poettering | 2009-10-06 | 2 | -0/+341 |
| | |||||
* | matrace: trivial LD_PRELOAD syntax fix | Carlo Marcelo Arenas Belon | 2009-09-29 | 1 | -1/+1 |
| | | | | Signed-off-by: Carlo Marcelo Arenas Belon <carenas@sajinet.com.pe> | ||||
* | add missing file backtrace-symbols.c | Lennart Poettering | 2009-09-22 | 2 | -0/+362 |
| | |||||
* | warn if applications have been built without -rdynamic | Lennart Poettering | 2009-09-21 | 2 | -7/+12 |
| | |||||
* | optionally read debug info for backtraces | Lennart Poettering | 2009-09-20 | 7 | -6/+94 |
| | |||||
* | show message about used processors | Lennart Poettering | 2009-09-20 | 1 | -0/+14 |
| | |||||
* | profile rwlocks, too | Lennart Poettering | 2009-09-20 | 1 | -13/+428 |
| | |||||
* | matrace: add matrace RT memory allocation tracker | Lennart Poettering | 2009-09-20 | 4 | -4/+586 |
| | |||||
* | give hint regarding R column | Lennart Poettering | 2009-09-16 | 1 | -3/+7 |
| | |||||
* | make clear this is Linux stuff | Lennart Poettering | 2009-09-16 | 1 | -0/+4 |
| | |||||
* | optionally track RT status of threads using a mutex | Lennart Poettering | 2009-09-16 | 2 | -22/+76 |
| | |||||
* | show mutex protocol | Lennart Poettering | 2009-09-16 | 1 | -7/+30 |
| | |||||
* | redirect backtrace() so that we don't enter an endless loop if the user ↵ | Lennart Poettering | 2009-09-15 | 1 | -2/+45 |
| | | | | calls backtrace() himself | ||||
* | Tweak configure.ac for intrepid | Eric Bollengier | 2009-09-15 | 1 | -2/+2 |
| | |||||
* | improve compatiblity with older automake | Lennart Poettering | 2009-09-15 | 1 | -1/+1 |
| | |||||
* | add likely/unlikey everywhere to minimize impact | Lennart Poettering | 2009-09-15 | 1 | -23/+26 |
| | |||||
* | explain in more detail why we don't support jemalloc | Lennart Poettering | 2009-09-15 | 1 | -0/+10 |
| | |||||
* | detect alternative memory allocators and quit early | Lennart Poettering | 2009-09-15 | 1 | -0/+10 |
| | |||||
* | handle mutexes properly that are taken before we are initialized | Lennart Poettering | 2009-09-15 | 1 | -0/+65 |
| | |||||
* | don't try to load symbols on every single mutex operation | Lennart Poettering | 2009-09-15 | 1 | -1/+3 |
| | |||||
* | show process name/pid in output | Lennart Poettering | 2009-09-15 | 1 | -5/+21 |
| | |||||
* | handle properly if other shared library constructor is not the first one to ↵ | Lennart Poettering | 2009-09-15 | 1 | -11/+53 |
| | | | | be called but others already used mutex operations | ||||
* | don't forget to explicitly link against librt and libdl | Lennart Poettering | 2009-09-15 | 1 | -1/+3 |
| | |||||
* | add missing mutrace.in file | Lennart Poettering | 2009-09-15 | 2 | -0/+127 |
| | |||||
* | don't warn about aliasing issues, since dlopen() violates C99 | Lennart Poettering | 2009-09-15 | 1 | -1/+1 |
| | |||||
* | add wrapper script for easy invocation | Lennart Poettering | 2009-09-15 | 2 | -14/+27 |
| | |||||
* | build-sys: fiddle a bit with libtool arguments | Lennart Poettering | 2009-09-15 | 1 | -1/+3 |
| | |||||
* | build-sys: drop unnecessary variables | Lennart Poettering | 2009-09-15 | 1 | -4/+0 |
| | |||||
* | autoconfization | Lennart Poettering | 2009-09-15 | 11 | -10/+1029 |
| | |||||
* | Merge remote branch 'origin/master' | Lennart Poettering | 2009-09-14 | 1 | -0/+3 |
|\ | |||||
| * | properly recognize our own symbols in stack trace on older glibc | Lennart Poettering | 2009-09-14 | 1 | -0/+3 |
| | | |||||
* | | rework dlsym() code and make it entirely compiler clean | Lennart Poettering | 2009-09-14 | 1 | -26/+23 |
| | | |||||
* | | use type-safe casts when getting real function pointers | Lennart Poettering | 2009-09-14 | 1 | -21/+23 |
| | | |||||
* | | add license blurb | Lennart Poettering | 2009-09-14 | 1 | -0/+19 |
| | |