1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
2 .TH PPROF "1" "February 2005" "pprof (part of gperftools)" Google
4 pprof \- manual page for pprof (part of gperftools)
7 [\fIoptions\fR] \fI<program> <profile>\fR
10 Prints specified cpu- or heap-profile
14 Sort by cumulative data
17 Subtract <base> from <profile> before display
18 .SS "Reporting Granularity:"
21 Report at address level
24 Report at source line level
27 Report at function level [default]
30 Report at source file level
34 Generate text report [default]
37 Generate Postscript and display
39 \fB\-\-list=\fR<regexp>
40 Generate source listing of matching routines
42 \fB\-\-disasm=\fR<regexp>
43 Generate disassembly of matching routines
46 Generate DOT file to stdout
49 Generate Postcript to stdout
52 Generate PDF to stdout
55 Generate GIF to stdout
56 .SS "Heap-Profile Options:"
59 Display in-use (mega)bytes [default]
61 \fB\-\-inuse_objects\fR
62 Display in-use objects
65 Display allocated (mega)bytes
67 \fB\-\-alloc_objects\fR
68 Display allocated objects
71 Display space in bytes
73 \fB\-\-drop_negative\fR
74 Ignore negaive differences
75 .SS "Call-graph Options:"
77 \fB\-\-nodecount=\fR<n>
78 Show at most so many nodes [default=80]
80 \fB\-\-nodefraction=\fR<f>
81 Hide nodes below <f>*total [default=.005]
83 \fB\-\-edgefraction=\fR<f>
84 Hide edges below <f>*total [default=.001]
86 \fB\-\-focus=\fR<regexp>
87 Focus on nodes matching <regexp>
89 \fB\-\-ignore=\fR<regexp>
90 Ignore nodes matching <regexp>
93 Set GV scaling [default=0]
98 Outputs one line per procedure
100 pprof \fB\-\-gv\fR /bin/ls ls.prof
102 Displays annotated call-graph via 'gv'
104 pprof \fB\-\-gv\fR \fB\-\-focus\fR=\fIMutex\fR /bin/ls ls.prof
106 Restricts to code paths including a .*Mutex.* entry
108 pprof \fB\-\-gv\fR \fB\-\-focus\fR=\fIMutex\fR \fB\-\-ignore\fR=\fIstring\fR /bin/ls ls.prof
110 Code paths including Mutex but not string
112 pprof \fB\-\-list\fR=\fIgetdir\fR /bin/ls ls.prof
114 Dissassembly (with per-line annotations) for getdir()
116 pprof \fB\-\-disasm\fR=\fIgetdir\fR /bin/ls ls.prof
118 Dissassembly (with per-PC annotations) for getdir()
120 Copyright \(co 2005 Google Inc.
122 Further documentation for
124 is maintained as a web page called
126 and is likely installed at one of the following locations:
128 .B /usr/share/gperftools/cpu_profiler.html
130 .B /usr/local/share/gperftools/cpu_profiler.html