Skip to content

Commit b65fd83

Browse files
andrewdjc
andrew
authored andcommitted
Moved install command from Pop!_OS to common section.
Added raspberry pi perf apt command. Removed legacy note about cargo-flamegraph: The command doesn't seem to work, the note will still be in git history if need be.
1 parent 263cb09 commit b65fd83

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

README.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ rustflags = ["-Clink-arg=-fuse-ld=lld", "-Clink-arg=-Wl,--no-rosegment"]
2525

2626
## Installation
2727

28+
```
29+
cargo install flamegraph
30+
```
31+
32+
This will make the `flamegraph` and
33+
`cargo-flamegraph` binaries available in your cargo
34+
binary directory. On most systems this is
35+
usually something like `~/.cargo/bin`.
36+
2837
Requirements on Linux:
2938

3039
#### Debian (x86 and aarch)
@@ -40,22 +49,16 @@ Not working on aarch, use a Debian distribution, or make a PR with your solution
4049
sudo apt install linux-tools-common linux-tools-generic linux-tools-`uname -r`
4150
```
4251

43-
#### Pop!_OS
52+
#### Ubuntu/Ubuntu MATE (Raspberry Pi)
4453
```bash
45-
sudo apt install linux-tools-common linux-tools-generic
54+
sudo apt install linux-tools-raspi
4655
```
4756

48-
`flamegraph` not `cargo-flamegraph`! (`cargo-flamegraph` is an inactive crate as of March 2019)
49-
50-
```
51-
cargo install flamegraph
57+
#### Pop!_OS
58+
```bash
59+
sudo apt install linux-tools-common linux-tools-generic
5260
```
5361

54-
This will make the `flamegraph` and
55-
`cargo-flamegraph` binaries available in your cargo
56-
binary directory. On most systems this is
57-
usually something like `~/.cargo/bin`.
58-
5962
## Shell auto-completion
6063

6164
At the moment, only `flamegraph` supports auto-completion. Supported shells are `bash`, `fish`, `zsh`, `powershell` and `elvish`.

0 commit comments

Comments
 (0)