Source: opendevices.sony.net, "Open source archive for 73.1.A.2.74" (Xperia 1 VIII: XQ-GE74, XQ-GE54, SO-51G, SOG17, A601SO, XQ-GE44), unmodified. Co-Authored-By: Claude Opus 5.5 <[email protected]>
24 lines
562 B
C
24 lines
562 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _MSM_SYSSTATS_H_
|
|
#define _MSM_SYSSTATS_H_
|
|
|
|
#include <uapi/linux/msm_sysstats.h>
|
|
|
|
#if IS_ENABLED(CONFIG_MSM_SYSSTATS)
|
|
extern void sysstats_register_kgsl_stats_cb(u64 (*cb)(pid_t pid));
|
|
extern void sysstats_unregister_kgsl_stats_cb(void);
|
|
#else
|
|
static inline void sysstats_register_kgsl_stats_cb(u64 (*cb)(pid_t pid))
|
|
{
|
|
}
|
|
static inline void sysstats_unregister_kgsl_stats_cb(void)
|
|
{
|
|
}
|
|
#endif
|
|
#endif /* _MSM_SYSSTATS_H_ */
|
|
|