mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacmn: Add rate limit macro for cp stats module ID
Add a new macro cp_stats_err_rl to rate limit certain cp statistics logs. Change-Id: I375ce2545c1eba2e568905ce76750cdf2f24bafd CRs-Fixed: 2788221
This commit is contained in:
parent
c9fb109954
commit
abb7ffcac0
1 changed files with 2 additions and 0 deletions
|
|
@ -34,6 +34,8 @@
|
|||
QDF_TRACE_DEBUG(QDF_MODULE_ID_CP_STATS, ## args)
|
||||
#define cp_stats_err(args ...) \
|
||||
QDF_TRACE_ERROR(QDF_MODULE_ID_CP_STATS, ## args)
|
||||
#define cp_stats_rl_err(args ...) \
|
||||
QDF_TRACE_ERROR_RL(QDF_MODULE_ID_CP_STATS, ## args)
|
||||
#define cp_stats_nofl_debug(args ...) \
|
||||
QDF_TRACE_DEBUG_NO_FL(QDF_MODULE_ID_CP_STATS, ## args)
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue