Skip to content

Commit 4e5ab2a

Browse files
nikomatsakismark-i-m
authored andcommitted
fix long lines
1 parent f1e087d commit 4e5ab2a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/profiling/with_perf.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ This is a guide for how to profile rustc with [perf](https://perf.wiki.kernel.or
44

55
## Initial steps
66

7-
- Get a clean checkout of rust-lang/master, or whatever it is you want to profile.
7+
- Get a clean checkout of rust-lang/master, or whatever it is you want
8+
to profile.
89
- Set the following settings in your `config.toml`:
910
- `debuginfo-lines = true`
1011
- `use-jemalloc = false` — lets you do memory use profiling with valgrind
@@ -248,7 +249,8 @@ Tree
248249
What happens with `--tree-callees` is that
249250

250251
- we find each sample matching the regular expression
251-
- we look at the code that is occurs *after* the regex match and try to build up a call tree
252+
- we look at the code that is occurs *after* the regex match and try
253+
to build up a call tree
252254

253255
The `--tree-min-percent 3` option says "only show me things that take
254256
more than 3% of the time. Without this, the tree often gets really

0 commit comments

Comments
 (0)