summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/qdio_perf.c
diff options
context:
space:
mode:
authorJan Glauber <jang@linux.vnet.ibm.com>2008-12-25 13:38:44 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-12-25 13:38:58 +0100
commit23589d057ac2da81e456d4a9dcdd9135fd96f493 (patch)
tree756fb6034f953689100ad0d9efaa90565295ebf5 /drivers/s390/cio/qdio_perf.c
parent[S390] qdio: fix qeth port count detection (diff)
downloadlinux-23589d057ac2da81e456d4a9dcdd9135fd96f493.tar.xz
linux-23589d057ac2da81e456d4a9dcdd9135fd96f493.zip
[S390] qdio: add eqbs/sqbs instruction counters
Add counters for the eqbs and sqbs instructions that indicate how often we issued the instructions and how often the instructions returned with less buffers than specified. Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/qdio_perf.c')
-rw-r--r--drivers/s390/cio/qdio_perf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/s390/cio/qdio_perf.c b/drivers/s390/cio/qdio_perf.c
index ec5c4a414235..bec01100f8e8 100644
--- a/drivers/s390/cio/qdio_perf.c
+++ b/drivers/s390/cio/qdio_perf.c
@@ -80,6 +80,12 @@ static int qdio_perf_proc_show(struct seq_file *m, void *v)
(long)atomic_long_read(&perf_stats.debug_stop_polling));
seq_printf(m, "AI inbound tasklet loops after stop polling\t: %li\n",
(long)atomic_long_read(&perf_stats.thinint_inbound_loop2));
+ seq_printf(m, "QEBSM EQBS total/incomplete\t\t\t: %li/%li\n",
+ (long)atomic_long_read(&perf_stats.debug_eqbs_all),
+ (long)atomic_long_read(&perf_stats.debug_eqbs_incomplete));
+ seq_printf(m, "QEBSM SQBS total/incomplete\t\t\t: %li/%li\n",
+ (long)atomic_long_read(&perf_stats.debug_sqbs_all),
+ (long)atomic_long_read(&perf_stats.debug_sqbs_incomplete));
seq_printf(m, "\n");
return 0;
}