about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorlolbinarycat <binarycat@envs.net>2025-06-17 11:31:04 -0500
committerGitHub <noreply@github.com>2025-06-17 11:31:04 -0500
commit8bc55da22eb6e5d09d56817ecc94031730c166ff (patch)
treeea8d985dc0ef421b38f0bc45ed6f8eebc3ded705 /src/doc/rustc-dev-guide
parent02334e1ad04fc4148ed504b8463c2d490110a53e (diff)
downloadrust-8bc55da22eb6e5d09d56817ecc94031730c166ff.tar.gz
rust-8bc55da22eb6e5d09d56817ecc94031730c166ff.zip
Profiling with perf: specify the section of bootstrap settings.
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/profiling/with_perf.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/profiling/with_perf.md b/src/doc/rustc-dev-guide/src/profiling/with_perf.md
index 742ea1c41a6..0d4f23bcd9a 100644
--- a/src/doc/rustc-dev-guide/src/profiling/with_perf.md
+++ b/src/doc/rustc-dev-guide/src/profiling/with_perf.md
@@ -7,8 +7,8 @@ This is a guide for how to profile rustc with [perf](https://perf.wiki.kernel.or
 - Get a clean checkout of rust-lang/master, or whatever it is you want
   to profile.
 - Set the following settings in your `bootstrap.toml`:
-  - `debuginfo-level = 1` - enables line debuginfo
-  - `jemalloc = false` - lets you do memory use profiling with valgrind
+  - `rust.debuginfo-level = 1` - enables line debuginfo
+  - `rust.jemalloc = false` - lets you do memory use profiling with valgrind
   - leave everything else the defaults
 - Run `./x build` to get a full build
 - Make a rustup toolchain pointing to that result