Skip to content

Commit ba042c7

Browse files
authored
fix(formatting): don't indent code block (#8371)
Updated code block formatting for clarity. Signed-off-by: Aviv Keller <[email protected]>
1 parent 3a1c20c commit ba042c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/site/pages/en/learn/diagnostics/flame-graphs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ Now let's get to work.
3434
2. Try running `perf` - it might complain about missing kernel modules, install them too
3535
3. Run node with perf enabled (see [perf output issues](#perf-output-issues) for tips specific to Node.js versions)
3636

37-
```
38-
perf record -e cycles:u -g -- node --perf-basic-prof --interpreted-frames-native-stack app.js
39-
```
37+
```bash
38+
perf record -e cycles:u -g -- node --perf-basic-prof --interpreted-frames-native-stack app.js
39+
```
4040

4141
4. Disregard warnings unless they're saying you can't run perf due to missing packages; you may get some warnings about not being able to access kernel module samples which you're not after anyway.
4242
5. Run `perf script > perfs.out` to generate the data file you'll visualize in a moment. It's useful to [apply some cleanup](#filtering-out-nodejs-internal-functions) for a more readable graph

0 commit comments

Comments
 (0)