[S390] qdio: convert global statistics to per-device stats
authorJan Glauber <jang@linux.vnet.ibm.com>
Mon, 4 Jan 2010 08:05:42 +0000 (09:05 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Mon, 4 Jan 2010 08:05:58 +0000 (09:05 +0100)
commit6486cda6c6b15368e2c925d89b4e9ed13e67b91b
treec4ca8e2b2b961adbc19733d1bcf3ebc6c5c6be32
parent45d28b097280a78893ce25a5d0db41e6a2717853
[S390] qdio: convert global statistics to per-device stats

Revamp the qdio performance statistics and move them from procfs to
debugfs using the seq_file interface. Since the statistics are not
intended for the general user the removal of /proc/qdio_perf should
not surprise anyone.

The per device statistics are disabled by default, writing 1 to
/<debugfs mountpoint>/qdio/<device bus ID>/statistics enables the
statistics for the given device.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/Makefile
drivers/s390/cio/qdio.h
drivers/s390/cio/qdio_debug.c
drivers/s390/cio/qdio_main.c
drivers/s390/cio/qdio_perf.c [deleted file]
drivers/s390/cio/qdio_perf.h [deleted file]
drivers/s390/cio/qdio_thinint.c