not-perf

(β˜… 902)

A sampling CPU profiler for Linux

  • .gitignore
  • Cargo.lock
  • Cargo.toml
  • LICENSE-APACHE
  • LICENSE-MIT
  • README.md

# Installation Guide

1. Get the code
git clone https://github.com/koute/not-perf

Downloads the entire project code from GitHub to your computer.

cd not-perf

Moves into the project folder you just downloaded.

2. Rust

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Rust (rustup) Installing via rustup also installs cargo.
$ cargo build --release

Compiles the Rust project.

$ cargo build --release --target=mips64-unknown-linux-gnuabi64

Compiles the Rust project.

$ cargo build --release --target=armv7-unknown-linux-gnueabihf

Compiles the Rust project.

$ cargo run record -p $PID_OF_YOUR_PROCESS -o datafile

Builds and then immediately runs the program.

$ cargo run record -P cpu-hungry-program -w -o datafile

Builds and then immediately runs the program.

βœ… If cargo build finishes without errors, it worked. The executable is created under target/.

Pulled directly from this repo's README.

// repository documentation