xref: /kernel/linux/linux-6.6/tools/perf/arch/arm64/include/perf_regs.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/tools/perf/arch/arm64/include/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef ARCH_PERF_REGS_H
362306a36Sopenharmony_ci#define ARCH_PERF_REGS_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#include <stdlib.h>
662306a36Sopenharmony_ci#include <linux/types.h>
762306a36Sopenharmony_ci#define perf_event_arm_regs perf_event_arm64_regs
862306a36Sopenharmony_ci#include <asm/perf_regs.h>
962306a36Sopenharmony_ci#undef perf_event_arm_regs
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_civoid perf_regs_load(u64 *regs);
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci#define PERF_REGS_MASK	((1ULL << PERF_REG_ARM64_MAX) - 1)
1462306a36Sopenharmony_ci#define PERF_REGS_MAX	PERF_REG_ARM64_MAX
1562306a36Sopenharmony_ci#define PERF_SAMPLE_REGS_ABI	PERF_SAMPLE_REGS_ABI_64
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci#endif /* ARCH_PERF_REGS_H */
18

Indexes created Thu Nov 07 10:32:03 CST 2024