1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2025 Intel Corporation
4  */
5 
6 #ifndef _XE_PMU_H_
7 #define _XE_PMU_H_
8 
9 #include "xe_pmu_types.h"
10 
11 #if IS_ENABLED(CONFIG_PERF_EVENTS)
12 int xe_pmu_register(struct xe_pmu *pmu);
13 #else
xe_pmu_register(struct xe_pmu * pmu)14 static inline int xe_pmu_register(struct xe_pmu *pmu) { return 0; }
15 #endif
16 
17 #endif
18 
19