summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorYaniv Gardi <ygardi@codeaurora.org>2014-04-15 22:50:44 +0300
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 10:56:56 -0700
commit9e50710114c9e6e66350a589c3f5c74003817357 (patch)
tree5e91a1cc56ea1e2d06b03a8042a7f3c71e645aac /tools/perf/scripts/python/netdev-times.py
parent9f270050270cb2a53e05d78a2222881f39870ca7 (diff)
scsi: ufs: add debug counters for recoverable errors during runtime
There is no way to know how many times various UFS errors happened while system is running if we have successfully recovered from those errors. Those failures should be counted and inspected as they might be anomaly behavior of the driver and can impact performance. This change adds support to capture these failures statistics like how many times we have seen errors, and which type of errors. To reset the counters: echo 1 > /sys/kernel/debug/ufs/err_stats To print them out: cat /sys/kernel/debug/ufs/err_stats Note: There is no need to enable them as they are never disabled. This error counters are something that we always would like to have. Change-Id: I559c729b998f79c6bdda2da54c0f0ec7531696d7 Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org> [subhashj@codeaurora.org: resolved trivial merge conflicts] Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions