diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2018-08-31 13:50:06 -0400 |
|---|---|---|
| committer | Who? Me?! <mark-i-m@users.noreply.github.com> | 2018-09-10 19:25:29 -0500 |
| commit | ff5e25fd2ef021d645d5e475f135d91f7165f6c2 (patch) | |
| tree | f247a7eba962c83cdf38d96fff5778c90df77053 /src | |
| parent | e708568d0559047a9745ed46079308985ed761ce (diff) | |
| download | rust-ff5e25fd2ef021d645d5e475f135d91f7165f6c2.tar.gz rust-ff5e25fd2ef021d645d5e475f135d91f7165f6c2.zip | |
fix long lines
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/profiling/with_perf.md | 6 |
1 files changed, 4 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 9f0554e5e1c..85dc8efd659 100644 --- a/src/doc/rustc-dev-guide/src/profiling/with_perf.md +++ b/src/doc/rustc-dev-guide/src/profiling/with_perf.md @@ -4,7 +4,8 @@ This is a guide for how to profile rustc with [perf](https://perf.wiki.kernel.or ## Initial steps -- Get a clean checkout of rust-lang/master, or whatever it is you want to profile. +- Get a clean checkout of rust-lang/master, or whatever it is you want + to profile. - Set the following settings in your `config.toml`: - `debuginfo-lines = true` - `use-jemalloc = false` — lets you do memory use profiling with valgrind @@ -248,7 +249,8 @@ Tree What happens with `--tree-callees` is that - we find each sample matching the regular expression -- we look at the code that is occurs *after* the regex match and try to build up a call tree +- we look at the code that is occurs *after* the regex match and try + to build up a call tree The `--tree-min-percent 3` option says "only show me things that take more than 3% of the time. Without this, the tree often gets really |
