File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ perf record -F99 --call-graph dwarf XXX
30
30
```
31
31
32
32
The ` -F99 ` tells perf to sample at 99 Hz, which avoids generating too
33
- much data for longer runs (why 99 Hz you ask? No particular reason, it
34
- just seems to work well for me). The ` --call-graph dwarf ` tells perf
35
- to get call-graph information from debuginfo, which is accurate. The
36
- ` XXX ` is the command you want to profile. So, for example, you might
37
- do:
33
+ much data for longer runs (why 99 Hz you ask? It is often chosen
34
+ because it is unlikely to be in lockstep with other periodic
35
+ activity). The ` -- call-graph dwarf ` tells perf to get call-graph
36
+ information from debuginfo, which is accurate. The ` XXX ` is the
37
+ command you want to profile. So, for example, you might do:
38
38
39
39
```
40
40
perf record -F99 --call-graph dwarf cargo +<toolchain> rustc
You can’t perform that action at this time.
0 commit comments