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

add_and_remove.tc (255B)


      1#!/bin/sh
      2# SPDX-License-Identifier: GPL-2.0
      3# description: Kprobe dynamic event - adding and removing
      4# requires: kprobe_events
      5
      6echo p:myevent $FUNCTION_FORK > kprobe_events
      7grep myevent kprobe_events
      8test -d events/kprobes/myevent
      9echo > kprobe_events