From adff4327672dfa8b9a50051f48f2ef643064b91e Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 20 Mar 2020 12:18:57 -0500 Subject: [PATCH] Fix build of the book (#1368) --- docs/examples-profiling.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/examples-profiling.md b/docs/examples-profiling.md index 36666dae57..45fe63619d 100644 --- a/docs/examples-profiling.md +++ b/docs/examples-profiling.md @@ -134,7 +134,7 @@ example to see that 99% of our runtime (as expected) is spent in our `fib` function. Note that the symbol has been demangled to `fib::fib` which is what the Rust symbol is: -``` +```sh $ perf report --input perf.jit-data ``` @@ -143,7 +143,7 @@ $ perf report --input perf.jit-data Alternatively we could also use `perf annotate` to take a look at the disassembly of the `fib` function, seeing what the JIT generated: -``` +```sh $ perf annotate --input perf.jit-data ```