GeistHaus
log in · sign up

Compiling and running perf for a specific kernel version | sap1ens.com

sap1ens.com

Recently I’ve started working on a Rust application. Shortly after the first prototype was ready, I decided to profile it to make sure I didn’t make any horrible mistakes that could affect performance. Due to the nature of the application, I couldn’t just profile it locally (but if it was an option I’d use flamegraph). It needed to run in production (Kubernetes). So, I thought I should just use perf. bash1$ perf 2bash: perf: command not found Ok, it needs it be installed first. The internet says to run apt-get install linux-tools-generic. Sure thing… Oh no:

0 pages link to this URL

No pages have linked to this URL yet.