cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

run_bench_rename.sh (225B)


      1#!/bin/bash
      2
      3set -eufo pipefail
      4
      5for i in base kprobe kretprobe rawtp fentry fexit fmodret
      6do
      7	summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
      8	printf "%-10s: %s\n" $i "$summary"
      9done