WSL2-Linux-Kernel/arch/s390/oprofile
Heiko Carstens 420f42ecf4 s390/irq: remove split irq fields from /proc/stat
Now that irq sum accounting for /proc/stat's "intr" line works again we
have the oddity that the sum field (first field) contains only the sum
of the second (external irqs) and third field (I/O interrupts).
The reason for that is that these two fields are already sums of all other
fields. So if we would sum up everything we would count every interrupt
twice.
This is broken since the split interrupt accounting was merged two years
ago: 052ff461c8 "[S390] irq: have detailed
statistics for interrupt types".
To fix this remove the split interrupt fields from /proc/stat's "intr"
line again and only have them in /proc/interrupts.

This restores the old behaviour, seems to be the only sane fix and mimics
a behaviour from other architectures where /proc/interrupts also contains
more than /proc/stat's "intr" line does.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2013-01-08 10:57:07 +01:00
..
Makefile [S390] oprofile: disable hw sampling for CONFIG_32BIT 2011-03-23 10:15:14 +01:00
backtrace.c s390: make use of user_mode() macro where possible 2012-07-30 11:03:12 +02:00
hwsampler.c s390/irq: remove split irq fields from /proc/stat 2013-01-08 10:57:07 +01:00
hwsampler.h [S390] oprofile: fix min/max interval query checks 2011-05-10 17:13:43 +02:00
init.c oprofile, s390: Fix uninitialized memory access when writing to oprofilefs 2012-08-27 14:49:23 +02:00
op_counter.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00