Loading include/soc/qcom/boot_stats.h +4 −1 Original line number Diff line number Diff line /* SPDX-License-Identifier: GPL-2.0-only * Copyright (c) 2011-2021, The Linux Foundation. All rights reserved. */ #ifndef __QCOM_BOOT_STATS_H__ #define __QCOM_BOOT_STATS_H__ #ifdef CONFIG_MSM_BOOT_TIME_MARKER void place_marker(const char *name); void destroy_marker(const char *name); int boot_marker_enabled(void) { return 1; } static inline int boot_marker_enabled(void) { return 1; } #else static inline int init_bootkpi(void) { return 0; } static inline void exit_bootkpi(void) { }; Loading @@ -13,3 +15,4 @@ static inline void place_marker(char *name) { }; static inline void destroy_marker(const char *name) { }; static inline int boot_marker_enabled(void) { return 0; } #endif #endif /* __QCOM_BOOT_STATS_H__ */ Loading
include/soc/qcom/boot_stats.h +4 −1 Original line number Diff line number Diff line /* SPDX-License-Identifier: GPL-2.0-only * Copyright (c) 2011-2021, The Linux Foundation. All rights reserved. */ #ifndef __QCOM_BOOT_STATS_H__ #define __QCOM_BOOT_STATS_H__ #ifdef CONFIG_MSM_BOOT_TIME_MARKER void place_marker(const char *name); void destroy_marker(const char *name); int boot_marker_enabled(void) { return 1; } static inline int boot_marker_enabled(void) { return 1; } #else static inline int init_bootkpi(void) { return 0; } static inline void exit_bootkpi(void) { }; Loading @@ -13,3 +15,4 @@ static inline void place_marker(char *name) { }; static inline void destroy_marker(const char *name) { }; static inline int boot_marker_enabled(void) { return 0; } #endif #endif /* __QCOM_BOOT_STATS_H__ */