File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ This is a guide for how to profile rustc with [perf](https://perf.wiki.kernel.or
4
4
5
5
## Initial steps
6
6
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.
8
9
- Set the following settings in your ` config.toml ` :
9
10
- ` debuginfo-lines = true `
10
11
- ` use-jemalloc = false ` — lets you do memory use profiling with valgrind
248
249
What happens with ` --tree-callees ` is that
249
250
250
251
- 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
252
254
253
255
The ` --tree-min-percent 3 ` option says "only show me things that take
254
256
more than 3% of the time. Without this, the tree often gets really
You can’t perform that action at this time.
0 commit comments