diff options
| author | Yaniv Gardi <ygardi@codeaurora.org> | 2015-06-09 10:22:26 +0300 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 10:59:56 -0700 |
| commit | 966284567f964015aa537f487db24eceef951aba (patch) | |
| tree | f6c78f0fe65a4a305eda1998414f84b74eff1477 /include/uapi/linux/mqueue.h | |
| parent | 4d53145d9793da4f24c0923de350303b2f09d3fb (diff) | |
scsi: ufs-debug: add debugfs capability to collect query statistics
This patch adds a new debugfs capability to collect query statistics.
It counts how many times each IDN (index) was sent to device for each
query opcode.
A usage example:
1. to clean current query statistics:
echo 1 > /d/ufshcd0/stats/query_stats
2. to dump the current query statistics:
cat /d/ufshcd0/stats/query_stats
This capability is always on, and can not be turned off.
Change-Id: I46ec405aae480c0dc161dca015b407bde6335cf7
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Diffstat (limited to 'include/uapi/linux/mqueue.h')
0 files changed, 0 insertions, 0 deletions
