From b80abe9a54acaea65c5ed4e676a9fbc8e211fd40 Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Sat, 8 Oct 2016 21:30:21 -0700 Subject: Add script for creating flamegraph with perf Resolves #8 --- scripts/ubuntu-install-perf.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 scripts/ubuntu-install-perf.sh (limited to 'scripts/ubuntu-install-perf.sh') diff --git a/scripts/ubuntu-install-perf.sh b/scripts/ubuntu-install-perf.sh new file mode 100755 index 00000000..85670039 --- /dev/null +++ b/scripts/ubuntu-install-perf.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +set -v + +# Get kernel info +UNAME=$(uname -r) + +# Install linux tools for the perf binary +sudo apt-get install -y \ + linux-tools-common \ + linux-tools-generic \ + linux-tools-$UNAME -- cgit v1.2.3-54-g00ecf