Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLudovic Henry <luhenry@microsoft.com>2017-09-25 19:27:47 +0300
committerGitHub <noreply@github.com>2017-09-25 19:27:47 +0300
commit5b681a16bd7aaf579f6b4a32eed36ee05bd4f562 (patch)
tree102fe6a29761339d5888e03dfae93150fb2f4376 /man
parentfc6f7e7921bc0367ad3d042ce5b8fe2d6dfe54e4 (diff)
[profiler] Add dedicated coverage profiler (#5622)
This is to remove the need to depend on the log profiler and mprof-report to generate code coverage reports
Diffstat (limited to 'man')
-rw-r--r--man/mono.17
-rw-r--r--man/mprof-report.112
2 files changed, 5 insertions, 14 deletions
diff --git a/man/mono.1 b/man/mono.1
index 7d2f14c151e..5ac6ea81002 100644
--- a/man/mono.1
+++ b/man/mono.1
@@ -908,8 +908,11 @@ your profiler.
For a sample of how to write your own custom profiler look in the
Mono source tree for in the samples/profiler.c.
.SH CODE COVERAGE
-Mono ships with a code coverage module in the \f[I]log\f[] profiler.
-Check the `coverage' option on the mprof-report(1) page for more details.
+Mono ships with a code coverage module in the \f[I]coverage\f[] profiler.
+To enable it, pass \fB--profile=coverage\fR to your mono invocation. It
+will by default output a coverage.xml in the current directory. Use
+\fBmono --profile=coverage:help sample.exe\fR for more information on the
+different options.
.SH AOT PROFILING
You can improve startup performance by using the AOT profiler.
.PP
diff --git a/man/mprof-report.1 b/man/mprof-report.1
index 56663251bf8..45ea4f77b88 100644
--- a/man/mprof-report.1
+++ b/man/mprof-report.1
@@ -213,9 +213,6 @@ The following commands are available:
.IP \[bu] 2
\f[I]nocounters\f[]: disables sampling of runtime and performance
counters, which is normally done every 1 second.
-.IP \[bu] 2
-\f[I]coverage\f[]: collect code coverage data. This implies enabling
-the \f[I]calls\f[] option.
.RE
.SS Analyzing the profile data
.PP
@@ -338,8 +335,6 @@ version
.IP \[bu] 2
\f[I]counters\f[]: counters samples
.IP \[bu] 2
-\f[I]coverage\f[]: code coverage data
-.IP \[bu] 2
\f[I]stats\f[]: event statistics
.PP
It is possible to limit some of the data displayed to a timeframe
@@ -411,13 +406,6 @@ By default mprof-report will print the summary data to the console.
To print it to a file, instead, use the option:
.PP
\f[B]--out=FILENAME\f[]
-.SS Processing code coverage data
-.PP
-If you ran the profiler with the \f[I]coverage\f[] option, you can
-process the collected coverage data into an XML file by running
-mprof-report like this:
-.PP
-\f[B]mprof-report --coverage-out=coverage.xml output.mlpd\f[]
.SS Dealing with profiler slowness
.PP
If the profiler needs to collect lots of data, the execution of the