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

machine.c (318B)


      1// SPDX-License-Identifier: GPL-2.0
      2
      3#include <inttypes.h>
      4#include <stdio.h>
      5#include <string.h>
      6#include "debug.h"
      7#include "symbol.h"
      8#include "callchain.h"
      9#include "record.h"
     10
     11void arch__add_leaf_frame_record_opts(struct record_opts *opts)
     12{
     13	opts->sample_user_regs |= sample_reg_masks[PERF_REG_ARM64_LR].mask;
     14}