162306a36Sopenharmony_ci#ifndef ARCH_PERF_REGS_H 262306a36Sopenharmony_ci#define ARCH_PERF_REGS_H 362306a36Sopenharmony_ci 462306a36Sopenharmony_ci#include <stdlib.h> 562306a36Sopenharmony_ci#include <linux/types.h> 662306a36Sopenharmony_ci#include <asm/perf_regs.h> 762306a36Sopenharmony_ci 862306a36Sopenharmony_civoid perf_regs_load(u64 *regs); 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci#define PERF_REGS_MASK ((1ULL << PERF_REG_S390_MAX) - 1) 1162306a36Sopenharmony_ci#define PERF_REGS_MAX PERF_REG_S390_MAX 1262306a36Sopenharmony_ci#define PERF_SAMPLE_REGS_ABI PERF_SAMPLE_REGS_ABI_64 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci#endif /* ARCH_PERF_REGS_H */ 15