diff options
author | Johannes Berg <[email protected]> | 2021-10-17 16:26:03 +0300 |
---|---|---|
committer | Luca Coelho <[email protected]> | 2021-10-22 10:49:03 +0300 |
commit | e5f1cc98cc1bd07bc6d4f75e34d89db06a2f8bdb (patch) | |
tree | 0ded6654201e6c415e5a6a8f0d66b5dc59017b0a /scripts/gdb/linux/lists.py | |
parent | 6b1259d1046ce068dc5448b65c26534fb22e37ac (diff) |
iwlwifi: allow rate-limited error messages
Sometimes we might want to have an error message for something
related to TX/RX, but if that somehow happens frequently it'll
overwhelm the logs. Add IWL_ERR_LIMIT() to alleviate that by
rate-limiting those messages.
To do this, rework __iwl_err() a bit to have a mode argument
instead of passing yet another (bool) argument to it.
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: Luca Coelho <[email protected]>
Link: https://lore.kernel.org/r/iwlwifi.20211017162352.2cb1e6b75672.Iec5b1c1bcc6ebc87c586921a6c5c2a937f49e83c@changeid
Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions