brintos

brintos / linux-shallow public Read only

0
0
Text · 475 B · 1c66f6b Raw
20 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2#ifndef ARCH_PERF_REGS_H3#define ARCH_PERF_REGS_H4 5#include <stdlib.h>6#include <linux/types.h>7#include <asm/perf_regs.h>8 9void perf_regs_load(u64 *regs);10 11#define PERF_REGS_MASK  ((1ULL << PERF_REG_POWERPC_MAX) - 1)12#define PERF_REGS_MAX   PERF_REG_POWERPC_MAX13#ifdef __powerpc64__14	#define PERF_SAMPLE_REGS_ABI	PERF_SAMPLE_REGS_ABI_6415#else16	#define PERF_SAMPLE_REGS_ABI	PERF_SAMPLE_REGS_ABI_3217#endif18 19#endif /* ARCH_PERF_REGS_H */20