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.h (450B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef _PERF_PERF_H
      3#define _PERF_PERF_H
      4
      5#include <stdbool.h>
      6
      7#ifndef MAX_NR_CPUS
      8#define MAX_NR_CPUS			2048
      9#endif
     10
     11extern const char *input_name;
     12extern bool perf_host, perf_guest;
     13extern const char perf_version_string[];
     14
     15void pthread__unblock_sigwinch(void);
     16
     17enum perf_affinity {
     18	PERF_AFFINITY_SYS = 0,
     19	PERF_AFFINITY_NODE,
     20	PERF_AFFINITY_CPU,
     21	PERF_AFFINITY_MAX
     22};
     23
     24extern int version_verbose;
     25#endif