summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2025-04-01 16:47:50 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-02 09:02:12 +0300
commit067a2ef8f3e8bcf4e47a7a2a6ea3b1690ab8f528 (patch)
tree7e7f14b3e010638920877af2e0c17a9ad64661af /tools/perf/scripts/python/export-to-postgresql.py
parentc9a5c9de78c9dc034a79ca1f7c59a7ec0f839607 (diff)
downloadlinux-067a2ef8f3e8bcf4e47a7a2a6ea3b1690ab8f528.tar.xz
spi: tegra210-quad: add rate limiting and simplify timeout error message
[ Upstream commit 21f4314e66ed8d40b2ee24185d1a06a07a512eb1 ] On malfunctioning hardware, timeout error messages can appear thousands of times, creating unnecessary system pressure and log bloat. This patch makes two improvements: 1. Replace dev_err() with dev_err_ratelimited() to prevent log flooding when hardware errors persist 2. Remove the redundant timeout value parameter from the error message, as 'ret' is always zero in this error path These changes reduce logging overhead while maintaining necessary error reporting for debugging purposes. Signed-off-by: Breno Leitao <leitao@debian.org> Link: https://patch.msgid.link/20250401-tegra-v2-2-126c293ec047@debian.org Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions