summaryrefslogtreecommitdiff
path: root/scripts/ubuntu-install-perf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ubuntu-install-perf.sh')
-rwxr-xr-xscripts/ubuntu-install-perf.sh11
1 files changed, 11 insertions, 0 deletions
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