Skip to content

Commit b2220ed

Browse files
committed
Update perf docs a bit
1 parent fdfac75 commit b2220ed

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

doc/src/manual/environment-variables.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,8 @@ event listener for just-in-time (JIT) profiling.
313313
(`USE_INTEL_JITEVENTS` set to `1` in the build configuration), or
314314
* [OProfile](http://oprofile.sourceforge.net/news/) (`USE_OPROFILE_JITEVENTS` set to `1`
315315
in the build configuration).
316+
* [Perf](https://perf.wiki.kernel.org) (`USE_PERF_JITEVENTS` set to `1`
317+
in the build configuration). This integration is enabled by default.
316318

317319
### `ENABLE_GDBLISTENER`
318320

doc/src/manual/profile.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,8 @@ Or similary with `perf` :
342342
343343
```
344344
$ ENABLE_JITPROFILING=1 perf record -o /tmp/perf.data --call-graph dwarf ./julia /test/fastmath.jl
345-
$ perf report --call-graph -G
345+
$ perf inject --jit --input /tmp/perf.data --output /tmp/perf-jit.data
346+
$ perf report --call-graph -G -i /tmp/perf-jit.data
346347
```
347348
348349
There are many more interesting things that you can measure about your program, to get a comprehensive list

0 commit comments

Comments
 (0)