Skip to content

Commit a2c80e6

Browse files
authored
Merge pull request #2475 from lolbinarycat/patch-3
Profiling with perf: specify the section of bootstrap settings.
2 parents 2078906 + 7b92199 commit a2c80e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/profiling/with_perf.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ This is a guide for how to profile rustc with [perf](https://perf.wiki.kernel.or
77
- Get a clean checkout of rust-lang/master, or whatever it is you want
88
to profile.
99
- Set the following settings in your `bootstrap.toml`:
10-
- `debuginfo-level = 1` - enables line debuginfo
11-
- `jemalloc = false` - lets you do memory use profiling with valgrind
10+
- `rust.debuginfo-level = 1` - enables line debuginfo
11+
- `rust.jemalloc = false` - lets you do memory use profiling with valgrind
1212
- leave everything else the defaults
1313
- Run `./x build` to get a full build
1414
- Make a rustup toolchain pointing to that result

0 commit comments

Comments
 (0)