A heap memory usage profiler. It uses LD_PRELOAD to track all calls to the core memory allocation
functions and logs these occurrances. Additionally, backtraces are obtained and logged. Combined this
can give interesting answers to questions such as:
* How much heap memory is my application using? * Where is heap memory being allocated, and how
often? * How much space are heap individual allocations requesting?
To evaluate the generated heaptrack data, use heaptrack_print or heaptrack_gui.
Mandatoryargumentstoheaptrack:
DEBUGGEE
The name or path to the application that should be run with heaptrack analyzation enabled.
Alternatively,toattachtoarunningprocess:-p, --pid PID
The process ID of a running process into which heaptrack will be injected. This only works with
applications that already link against libdl.
Optionalargumentstoheaptrack:-d, --debug
Run the debuggee in GDB and heaptrack.
ARGUMENT
Any number of arguments that will be passed verbatim to the debuggee.
-h, --help
Show this help message and exit.
-v, --version
Displays version information.