|
@@ -1,5 +1,5 @@
|
|
/*
|
|
/*
|
|
- * Copyright (c) 2014-2020 The Linux Foundation. All rights reserved.
|
|
|
|
|
|
+ * Copyright (c) 2014-2021 The Linux Foundation. All rights reserved.
|
|
*
|
|
*
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -624,6 +624,20 @@ void qdf_rl_print_count_set(uint32_t rl_print_count);
|
|
*/
|
|
*/
|
|
void qdf_rl_print_time_set(uint32_t rl_print_time);
|
|
void qdf_rl_print_time_set(uint32_t rl_print_time);
|
|
|
|
|
|
|
|
+/**
|
|
|
|
+ * qdf_rl_print_supressed_log() - print the supressed logs count
|
|
|
|
+ *
|
|
|
|
+ * Return: none
|
|
|
|
+ */
|
|
|
|
+void qdf_rl_print_supressed_log(void);
|
|
|
|
+
|
|
|
|
+/**
|
|
|
|
+ * qdf_rl_print_supressed_inc() - increment the supressed logs count
|
|
|
|
+ *
|
|
|
|
+ * Return: none
|
|
|
|
+ */
|
|
|
|
+void qdf_rl_print_supressed_inc(void);
|
|
|
|
+
|
|
#else /* WLAN_MAX_LOGS_PER_SEC */
|
|
#else /* WLAN_MAX_LOGS_PER_SEC */
|
|
static inline bool qdf_detected_excessive_logging(void)
|
|
static inline bool qdf_detected_excessive_logging(void)
|
|
{
|
|
{
|
|
@@ -631,6 +645,8 @@ static inline bool qdf_detected_excessive_logging(void)
|
|
}
|
|
}
|
|
static inline void qdf_rl_print_count_set(uint32_t rl_print_count) {}
|
|
static inline void qdf_rl_print_count_set(uint32_t rl_print_count) {}
|
|
static inline void qdf_rl_print_time_set(uint32_t rl_print_time) {}
|
|
static inline void qdf_rl_print_time_set(uint32_t rl_print_time) {}
|
|
|
|
+static inline void qdf_rl_print_supressed_log(void) {}
|
|
|
|
+static inline void qdf_rl_print_supressed_inc(void) {}
|
|
#endif /* WLAN_MAX_LOGS_PER_SEC */
|
|
#endif /* WLAN_MAX_LOGS_PER_SEC */
|
|
|
|
|
|
#ifdef ENABLE_MTRACE_LOG
|
|
#ifdef ENABLE_MTRACE_LOG
|