Skip to content

Commit 58cb914

Browse files
committed
Update hosted option name for customizing LCOV trace file paths in the PGO LCOV user documentation.
1 parent 7ee70e4 commit 58cb914

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference-manual/native-image/PGO-LCOV.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ native-image -cp . GameOfLife -o gameoflife-instrumented --pgo-instrument -H:+Un
4444
The report, in the form of a `.info` trace file, is then generated along with the profile after
4545
running the instrumented application.
4646
In the similar fashion to profiling, one can additionally customize the destination of the generated
47-
info file via the `-XX:ProfilesLCOVTraceFile` option.
47+
info file via the `-XX:ProfilesLCOVFile` option.
4848
For example:
4949

5050
```bash
51-
./gameoflife-instrumented -XX:ProfilesLCOVTraceFile=gameoflife-coverage.info
51+
./gameoflife-instrumented -XX:ProfilesLCOVFile=gameoflife-coverage.info
5252
```
5353

5454
The generated LCOV trace file provides the coverage information at method-level, i.e., whether a

0 commit comments

Comments
 (0)