diff options
author | Martin Sperl <kernel@martin.sperl.org> | 2015-06-22 15:00:36 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-07 14:33:23 +0200 |
commit | eca2ebc7e007c9e2b8f5ecfcfc74b53fbe68e42b (patch) | |
tree | 0e38bce3f30bb7dcad9777f9724fd92ffcbb34a8 /drivers/vhost/vhost.c | |
parent | Linux 4.2-rc1 (diff) | |
download | linux-eca2ebc7e007c9e2b8f5ecfcfc74b53fbe68e42b.tar.xz linux-eca2ebc7e007c9e2b8f5ecfcfc74b53fbe68e42b.zip |
spi: expose spi_master and spi_device statistics via sysfs
per spi-master statistics accessible as:
/sys/class/spi_master/spi*/statistics/*
per spi-device statistics accessible via:
/sys/class/spi_master/spi*/spi*.*/statistics/*
The following statistics are exposed as separate "files" inside
these directories:
* messages number of spi_messages
* transfers number of spi_transfers
* bytes number of bytes transferred
* bytes_rx number of bytes transmitted
* bytes_tx number of bytes received
* errors number of errors encounterd
* timedout number of messages that have timed out
* spi_async number of spi_messages submitted using spi_async
* spi_sync number of spi_messages submitted using spi_sync
* spi_sync_immediate number of spi_messages submitted using spi_sync,
that are handled immediately without a context switch
to the spi_pump worker-thread
Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/vhost/vhost.c')
0 files changed, 0 insertions, 0 deletions