cpl-vm 348 Bytes
Newer Older
aumgn's avatar
aumgn committed
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/bash

KERNEL_FLAVOR=${1:-tptracepoint}
KERNEL_STAMP=${2:-$(python -c 'import uuid; print(str(uuid.uuid1())[0:8])')}

pushd ~/linux
git reset --hard c7dd25cc70176e2
git pull
cpl $KERNEL_FLAVOR $KERNEL_STAMP
popd

sudo dpkg -i $BENCH_PATH/src/linux-image-4.9.9-$KERNEL_FLAVOR-$KERNEL_STAMP+_2_amd64.deb
vm 4.9.9-$KERNEL_FLAVOR-$KERNEL_STAMP+