DragonFly commits List (threaded) for 2011-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: intrcnt: Fix long standing interrupt name/count array mismatch
commit 3242c748ea74256b58d8ef0f7a7783b8473847c3
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date: Sun Apr 10 19:18:17 2011 +0800
intrcnt: Fix long standing interrupt name/count array mismatch
hw.intrnames always returns all interrupts' name, while hw.intrcnt
only returns count of interrupts that get installed. This
mismatching cause utilities like vmstat(8) to report wrong interrupt
counts.
Keep the old symantic of hw.intrcnt and add hw.intrcnt_all, which
returns count of all interrupts. Let vmstat(8) and systat(1) use
hw.intrcnt_all.
Summary of changes:
sys/kern/kern_intr.c | 21 +++++++++++++++++++++
usr.bin/systat/vmstat.c | 2 +-
usr.bin/vmstat/vmstat.c | 2 +-
3 files changed, 23 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3242c748ea74256b58d8ef0f7a7783b8473847c3
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]