sdk/tools/heaptrack.git
10 years agoAdd kateconfig
Milian Wolff [Thu, 15 May 2014 18:51:38 +0000 (20:51 +0200)]
Add kateconfig

10 years agoWrite output into per-thread files and merge that then later.
Milian Wolff [Thu, 15 May 2014 18:10:50 +0000 (20:10 +0200)]
Write output into per-thread files and merge that then later.

10 years agoSkip handleMalloc properly.
Milian Wolff [Thu, 15 May 2014 17:43:46 +0000 (19:43 +0200)]
Skip handleMalloc properly.

10 years agoAdd support for posix_memalign, aligned_alloc and valloc.
Milian Wolff [Thu, 15 May 2014 17:37:14 +0000 (19:37 +0200)]
Add support for posix_memalign, aligned_alloc and valloc.

10 years agoHandle calloc.
Milian Wolff [Thu, 15 May 2014 17:24:02 +0000 (19:24 +0200)]
Handle calloc.

10 years agoHandle realloc
Milian Wolff [Thu, 15 May 2014 17:07:15 +0000 (19:07 +0200)]
Handle realloc

10 years agoAlso output calls to free
Milian Wolff [Thu, 15 May 2014 17:01:14 +0000 (19:01 +0200)]
Also output calls to free

10 years agoPrint full backtraces
Milian Wolff [Thu, 15 May 2014 16:26:30 +0000 (18:26 +0200)]
Print full backtraces

10 years agoMake it possible to run the malloc tracer in GDB easily.
Milian Wolff [Thu, 15 May 2014 16:00:09 +0000 (18:00 +0200)]
Make it possible to run the malloc tracer in GDB easily.

10 years agoCleanup code and only output function names once.
Milian Wolff [Thu, 15 May 2014 15:59:21 +0000 (17:59 +0200)]
Cleanup code and only output function names once.

Also don't keep them in memory afterwards. This means we'll need a
separate tool to interpret the data, but its much faster this way.

10 years agoCache unw_get_proc_name for the ip's we encounter
Milian Wolff [Thu, 15 May 2014 15:32:30 +0000 (17:32 +0200)]
Cache unw_get_proc_name for the ip's we encounter

10 years agoPrint caller of malloc/operator new/operator new[] instead of full backtrace.
Milian Wolff [Thu, 15 May 2014 15:08:17 +0000 (17:08 +0200)]
Print caller of malloc/operator new/operator new[] instead of full backtrace.

10 years agoOn-demand initialize real_* func ptrs.
Milian Wolff [Thu, 15 May 2014 14:27:27 +0000 (16:27 +0200)]
On-demand initialize real_* func ptrs.

We must not rely on static initialization order here.

10 years agoOnly local unwind is required
Milian Wolff [Thu, 15 May 2014 14:10:22 +0000 (16:10 +0200)]
Only local unwind is required

10 years agoadd c++ example
Milian Wolff [Thu, 15 May 2014 14:10:11 +0000 (16:10 +0200)]
add c++ example

10 years agoextend test.c a bit.
Milian Wolff [Thu, 15 May 2014 14:09:58 +0000 (16:09 +0200)]
extend test.c a bit.

10 years agoAdd simple malloc/free tracer
Milian Wolff [Thu, 15 May 2014 12:47:25 +0000 (14:47 +0200)]
Add simple malloc/free tracer

11 years agodon't trace child apps
Milian Wolff [Fri, 31 May 2013 16:55:36 +0000 (18:55 +0200)]
don't trace child apps

11 years agoAppend PID to output files
Milian Wolff [Fri, 31 May 2013 16:55:30 +0000 (18:55 +0200)]
Append PID to output files

11 years agoadd simple run script
Milian Wolff [Fri, 31 May 2013 16:08:18 +0000 (18:08 +0200)]
add simple run script

11 years agosimplify
Milian Wolff [Fri, 31 May 2013 16:07:53 +0000 (18:07 +0200)]
simplify

11 years agoMake output actually usable and also possible to dump to a custom file
Milian Wolff [Fri, 31 May 2013 15:51:02 +0000 (17:51 +0200)]
Make output actually usable and also possible to dump to a custom file

11 years agoMake output destination configurable
Milian Wolff [Fri, 31 May 2013 12:27:49 +0000 (14:27 +0200)]
Make output destination configurable

11 years agoOnly enable c++11 for c++ files
Milian Wolff [Fri, 31 May 2013 12:27:37 +0000 (14:27 +0200)]
Only enable c++11 for c++ files

11 years agoAdd test binary to verify that this trick also works with pure C applications
Milian Wolff [Fri, 31 May 2013 12:18:49 +0000 (14:18 +0200)]
Add test binary to verify that this trick also works with pure C applications

11 years agotrue instead of 1
Milian Wolff [Wed, 29 May 2013 23:16:58 +0000 (01:16 +0200)]
true instead of 1

11 years agofix usage message
Milian Wolff [Wed, 29 May 2013 23:03:12 +0000 (01:03 +0200)]
fix usage message

11 years agoUse raw pointer to not get a double delete on exit.
Milian Wolff [Wed, 29 May 2013 23:02:48 +0000 (01:02 +0200)]
Use raw pointer to not get a double delete on exit.

11 years agoAdd snapshot ID and timestamp to output.
Milian Wolff [Wed, 29 May 2013 23:02:32 +0000 (01:02 +0200)]
Add snapshot ID and timestamp to output.

11 years agoadd LGPL v2+ license
Milian Wolff [Wed, 29 May 2013 22:40:08 +0000 (00:40 +0200)]
add LGPL v2+ license

11 years agoInitial import of dumpmallocinfo.
Milian Wolff [Wed, 29 May 2013 22:29:12 +0000 (00:29 +0200)]
Initial import of dumpmallocinfo.

This is a little library that you can LD_PRELOAD to your application.
It will then call malloc_info in user-defined intervals (configured
via DUMP_MALLOC_INFO_INTERVAL environment variable).

See `man malloc_info 3` for more information.