diff options
| author | Yaniv Gardi <ygardi@codeaurora.org> | 2015-04-01 17:05:01 +0300 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 10:59:47 -0700 |
| commit | 33e8deb4418fd60ed58e95bad31dfd57f9c9287e (patch) | |
| tree | 25d3d9ed8e009afd0a8368146f965739b8cd491e /include/linux/memory_hotplug.h | |
| parent | d53a1c974d8990e9bcc72d52a734e7680f514f03 (diff) | |
scsi: ufs: add debugfs for error injection statistics
This change adds a capability to record how many errors are
injected per error scenario, and also the debugfs entry to read them
and to reset them.
cat /d/ufshcd0/err_inj_stats
to analyze how many error were injected per error scenario
echo 1 > /d/ufshcd0/err_inj_stats
(or any other value, to reset all statistics)
Change-Id: Ide06c30d1a9d3b65df99cd8bc24cffecc9a4b724
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Diffstat (limited to 'include/linux/memory_hotplug.h')
0 files changed, 0 insertions, 0 deletions
