qcacmn: Add excessive logging detection
One of the most common stability issues encountered by the stability team is watchdog bite due to excessive logging. Add a feature to track logging to dmesg using a tumbling window and counter, and panic if the configured maximum number of logs for that window is exceeded. Change-Id: If83c6dfccb9d191b02a3a7166b065c0a0704f969 CRs-Fixed: 2338385
This commit is contained in:
@@ -115,6 +115,8 @@ static inline qdf_time_t qdf_system_ticks(void)
|
||||
return __qdf_system_ticks();
|
||||
}
|
||||
|
||||
#define qdf_system_ticks_per_sec __qdf_system_ticks_per_sec
|
||||
|
||||
/**
|
||||
* qdf_system_ticks_to_msecs - convert ticks to milliseconds
|
||||
* @clock_ticks: Number of ticks
|
||||
|
Reference in New Issue
Block a user