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

evsel.c (186B)


      1// SPDX-License-Identifier: GPL-2.0
      2#include <stdio.h>
      3#include "util/evsel.h"
      4
      5void arch_evsel__set_sample_weight(struct evsel *evsel)
      6{
      7	evsel__set_sample_bit(evsel, WEIGHT_STRUCT);
      8}