7 Apr
2020
7 Apr
'20
10:44 a.m.
revision-id: 190e2dd6b196f73115a971dd9d1064ac0075b8a0 () parent(s): 633e09495b97e164cf7a98b63c330c292ee5e060 author: Sergei Petrunia committer: Sergei Petrunia timestamp: 2020-04-07 11:44:20 +0300 message: setup-perf-ubuntu.sh --- setup-server/setup-perf-ubuntu.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup-server/setup-perf-ubuntu.sh b/setup-server/setup-perf-ubuntu.sh new file mode 100755 index 0000000..7217dcc --- /dev/null +++ b/setup-server/setup-perf-ubuntu.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +sudo apt-get -y install linux-tools-common +sudo apt-get -y install linux-tools-`uname -r` +sudo sh -c "echo 0 >/proc/sys/kernel/kptr_restrict" +