Debian Codegraph @

debian/mans/heaptrack.1

raw
1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
2 .TH HEAPTRACK "1" "March 2017" "heaptrack 1.0.0" "User Commands"
3 .SH NAME
4 heaptrack \- heap memory profiler for linux, command line utility
5 .SH SYNOPSIS
6 .B heaptrack
7 [\fI\,--debug|-d\/\fR] \fI\,DEBUGGEE \/\fR[\fI\,ARGUMENT\/\fR]...
8 .br
9 .B heaptrack
10 [\fI\,--debug|-d\/\fR] \fI\,-p PID\/\fR
11 .SH DESCRIPTION
12 A heap memory usage profiler. It uses LD_PRELOAD to track all
13 calls to the core memory allocation functions and logs these
14 occurrances. Additionally, backtraces are obtained and logged.
15 Combined this can give interesting answers to questions such as:
16 .IP
17 * How much heap memory is my application using?
18 * Where is heap memory being allocated, and how often?
19 * How much space are heap individual allocations requesting?
20 .PP
21 To evaluate the generated heaptrack data, use heaptrack_print or heaptrack_gui.
22 .SS "Mandatory arguments to heaptrack:"
23 .TP
24 DEBUGGEE
25 The name or path to the application that should
26 be run with heaptrack analyzation enabled.
27 .SS "Alternatively, to attach to a running process:"
28 .TP
29 \fB\-p\fR, \fB\-\-pid\fR PID
30 The process ID of a running process into which
31 heaptrack will be injected. This only works with
32 applications that already link against libdl.
33 .SS "Optional arguments to heaptrack:"
34 .TP
35 \fB\-d\fR, \fB\-\-debug\fR
36 Run the debuggee in GDB and heaptrack.
37 .TP
38 ARGUMENT
39 Any number of arguments that will be passed verbatim
40 to the debuggee.
41 .TP
42 \fB\-h\fR, \fB\-\-help\fR
43 Show this help message and exit.
44 .TP
45 \fB\-v\fR, \fB\-\-version\fR
46 Displays version information.
47 .SH "SEE ALSO"
48 The full documentation for
49 .B heaptrack
50 is maintained as a Texinfo manual. If the
51 .B info
52 and
53 .B heaptrack
54 programs are properly installed at your site, the command
55 .IP
56 .B info heaptrack
57 .PP
58 should give you access to the complete manual.