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

perf_event.h (335B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * Copyright (C) 2018 SiFive
      4 * Copyright (C) 2018 Andes Technology Corporation
      5 *
      6 */
      7
      8#ifndef _ASM_RISCV_PERF_EVENT_H
      9#define _ASM_RISCV_PERF_EVENT_H
     10
     11#include <linux/perf_event.h>
     12#define perf_arch_bpf_user_pt_regs(regs) (struct user_regs_struct *)regs
     13#endif /* _ASM_RISCV_PERF_EVENT_H */