aboutsummaryrefslogtreecommitdiff
path: root/src/chattymalloc.c
Commit message (Collapse)AuthorAgeFilesLines
* use memory mapped file instead of write to store the traceFlorian Fischer2020-01-241-21/+106
| | | | We use two mappings to reduce waiting time during growth of the trace file.
* improve chattymalloc and chattyparserFlorian Fischer2020-01-171-70/+99
| | | | | | | | | | | | | chattymalloc is now more deterministic through binary logging. It seems we aren't loosing traces anymore and need less space. Each thread has it private tracebuffer, which gets passed to write() for each function call. chattyparser now parses binary traces while producing a plain text representation. It can also detect mostly all possible false sharing through traking the cached lines for all life allocations. Only allocations passed between threads are not tracked correctly as well as thread termination.
* Revert "add tid to chattymalloc log"Florian Fischer2020-01-161-3/+0
| | | | This reverts commit 0978c0cbbcdca5394b2a0aeeab0771939021fd15.
* add tid to chattymalloc logFlorian Fischer2020-01-081-0/+3
|
* read output file path from CHATTYMALLOC_FILE environment variableFlorian Fischer2019-08-221-1/+5
|
* write returned from posix_memalign returned ptr to traceFlorian Fischer2019-08-221-1/+1
|
* don't write malloc_stats into traceFlorian Fischer2019-08-221-1/+0
|
* readd chattymallocFlorian Fischer2019-08-221-0/+244
|
* s/target/allocator/ and remove analyse featureFlorian Fischer2019-02-081-161/+0
| | | | Use systemwide installed allocators by default
* move source code to src/Florian Fischer2019-01-151-0/+161