]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/hiperdispatch: Add hiperdispatch debug counters
authorMete Durlu <meted@linux.ibm.com>
Mon, 12 Aug 2024 11:39:39 +0000 (13:39 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 29 Aug 2024 20:56:35 +0000 (22:56 +0200)
commitea31f1c6b470bba02df0b600ed3cf447d4851f0d
tree53926ed28b802d1aa6d541838ac2d185fbce20b6
parent441cc6f5b66e814405766ddec4af5071d22e98da
s390/hiperdispatch: Add hiperdispatch debug counters

Add three counters to follow and understand hiperdispatch behavior;
* adjustment_count (amount of capacity adjustments triggered)
* greedy_time_ms (time spent while all cpus are on high capacity)
* conservative_time_ms (time spent while only entitled cpus are on high
  capacity)

These counters can be found under /sys/kernel/debug/s390/hiperdispatch/
Time counters are in <msec> format and only cover the time spent
when hiperdispatch is active.

Acked-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Mete Durlu <meted@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/hiperdispatch.c