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

mem-events.c (311B)


      1// SPDX-License-Identifier: GPL-2.0
      2#include "map_symbol.h"
      3#include "mem-events.h"
      4
      5/* PowerPC does not support 'ldlat' parameter. */
      6char *perf_mem_events__name(int i, char *pmu_name __maybe_unused)
      7{
      8	if (i == PERF_MEM_EVENTS__LOAD)
      9		return (char *) "cpu/mem-loads/";
     10
     11	return (char *) "cpu/mem-stores/";
     12}