FILE
xe_pmu.h
File preview with syntax highlighting.
linux-6.19.14/drivers/gpu/drm/xe/xe_pmu.h
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) 12int xe_pmu_register(struct xe_pmu *pmu); 13#else 14static inline int xe_pmu_register(struct xe_pmu *pmu) { return 0; } 15#endif 16 17#endif 18
~/
Read-only file preview.