summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/intel_pt.h
blob: b523f51c5400d879ab1893ec496cba247e197bdf (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_X86_INTEL_PT_H
#define _ASM_X86_INTEL_PT_H

#if defined(CONFIG_PERF_EVENTS) && defined(CONFIG_CPU_SUP_INTEL)
void cpu_emergency_stop_pt(void);
#else
static inline void cpu_emergency_stop_pt(void) {}
#endif

#endif /* _ASM_X86_INTEL_PT_H */