3 mprof\-report \- report generator for Mono's log profiler
5 \fBmprof\-report\fR [\fIoption\fR]... \fIfile.mlpd\fR
7 \fBmprof\-report\fR is the report generator for Mono's \fBlog\fR
8 profiler. It reads the MLPD log files produced by the log profiler
9 and generates a report based on the options passed to it. The
10 output is based on individual reports which can be turned on or off.
11 By default, all reports are generated in summary form (i.e.,
14 \fBmprof\-report\fR can read both normal and \fBgzip\fR(1)-compressed
15 log files transparently.
17 For information about how to use the log profiler with a program,
18 see the \fBmono\-profilers\fR(1) page, under the \fBLOG PROFILER\fR
21 The following options are available:
24 Displays usage instructions.
26 \fB\-\-out\fR=\fIfile\fR
27 Write the report output to \fIfile\fR instead of standard output.
30 Show backtraces in reports when available.
32 \fB\-\-maxframes\fR=\fInum\fR
33 Limit backtraces to \fInum\fR frames.
35 \fB\-\-reports\fR=\fIreports\fR
36 Generate only the specified reports. \fIreports\fR is a
37 comma-separated list of reports. See the \fBREPORTS\fR section.
39 \fB\-\-method\-sort\fR=\fImode\fR
40 Sort methods according to \fImode\fR, which can be one of:
44 Sort by the total amount of time spent in a method and its callees.
47 Sort by the amount of time spent only within a method itself.
50 Sort by the total amount of calls made to a method.
53 \fB\-\-alloc\-sort\fR=\fImode\fR
54 Sort allocations according to \fImode\fR, which can be one of:
58 Sort by the amount of heap bytes occupied by all allocated objects of
62 Sort by the total amount of allocations of a type.
65 \fB\-\-counters\-sort\fR=\fImode\fR
66 Sort counters according to \fImode\fR. This alters how the
67 \fBcounters\fR report is presented. It can be one of:
71 Present a list of samples, each containing a list of counter
75 Present a list of counter names, each containing a list of sampled
79 This option has no effect unless \fB\-\-verbose\fR is passed.
81 \fB\-\-track\fR=\fIobjects\fR
82 Track what happens to the specified objects. \fIobjects\fR is a
83 comma-separated list of object addresses.
85 \fB\-\-find\fR=\fIspec\fR
86 Find and track what happens to objects matching \fIspec\fR, which can
87 have one of these forms:
90 \fBS\fR:\fIminimum_size\fR
91 Look for objects that are at least \fIminimum_size\fR bytes in size.
93 \fBT\fR:\fIname_fragment\fR
94 Look for objects whose type name contain \fIname_fragment\fR.
97 Both an \fBS\fR and \fBT\fR spec can be given by passing the option
100 \fB\-\-thread\fR=\fItid\fR
101 Consider only events from the thread with ID \fItid\fR.
103 \fB\-\-time\fR=\fIspan\fR
104 Consider only events occurring in the specified time span. \fIspan\fR
105 must be of the form \fIfrom\fR\-\fIto\fR where \fIfrom\fR and
106 \fIto\fR are seconds since the program started.
109 Print verbose output.
112 Print extremely detailed debug output. Most users should not use this
115 The following reports are available:
118 Program startup and profiler version and operational information.
121 JIT compiler statistics.
124 Garbage collection and handle statistics.
127 Flat statistical sampling profile.
130 Per-class GC allocation statistics and backtraces.
133 Method call statistics and backtraces.
136 Loaded images and assemblies.
139 Exception statistics and backtraces.
142 Monitor lock statistics and backtraces.
145 Managed thread names.
148 Loaded application domains.
151 Loaded remoting contexts.
154 Heap snapshot information.
157 Performance counter samples.
159 \fBmono\fR(1), \fBmono\-profilers\fR(1)