rr requires some sysctl config

This commit is contained in:
Michael Rodler 2017-01-24 16:17:55 +01:00 committed by Michael Rodler
parent 67555ab8ed
commit e49aaa5286
4 changed files with 6 additions and 0 deletions

3
rr/configure-system Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash -e
echo 'kernel.perf_event_paranoid = 1' | sudo tee /etc/sysctl.d/10-rr.conf

View file

@ -1,3 +1,4 @@
#!/bin/bash -e
pacman -Syu --noconfirm --needed \
ccache cmake gdb python2-pexpect ninja zlib
./configure-system

View file

@ -2,3 +2,4 @@
apt-get install -y ccache cmake make g++-multilib gdb \
pkg-config libz-dev realpath python-pexpect manpages-dev git zlib1g-dev \
ninja-build
./configure-system

View file

@ -3,3 +3,4 @@ dnf install -y \
ccache cmake make gcc gcc-c++ gdb \
glibc-devel glibc-devel.i686 libstdc++-devel libstdc++-devel.i686 zlib-devel \
python-pexpect man-pages ninja-build
./configure-system