mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-19 03:25:44 +00:00
c4a1df60a4
If I missed something crucial in my minor edits of the wording of the descriptions, please let me know, @MFTabriz.
15 lines
569 B
Plaintext
15 lines
569 B
Plaintext
# heaptrack
|
|
# Heap memory profiler for Linux
|
|
# Utility to trace all memory allocations and annotate these events with stack
|
|
# traces. More information: <https://github.com/KDE/heaptrack>.
|
|
|
|
# Launch your_exec, then start tracing its memory allocations. The code will
|
|
# exit with the path to your profile data file.
|
|
heaptrack ./your_exec
|
|
|
|
# Analyze the heaptrack profiling data using the heaptrack GUI tool.
|
|
heaptrack_gui heaptrack.your_exec.pid.zst
|
|
|
|
# Analyze the heaptrack profiling data using the heaptrack simple CLI tool.
|
|
heaptrack_print heaptrack.your_exec.pid.zst
|