Handle 3-digit interrupt numbers (vectors). While here, change the
name of unused entries from "intr XXX" to "#XXX". This makes it easier to debug interrupt problems, because vmstat can be hacked more easily to dump all interrupt entries that are in use and not those that have had interrupts.
This commit is contained in:
parent
7bf701d6f4
commit
671f297efb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108733
@ -360,9 +360,11 @@ EXPORT(intrnames)
|
||||
.byte 0
|
||||
intr_n = 0
|
||||
.rept INTRCNT_COUNT - 1
|
||||
.ascii "intr "
|
||||
.byte intr_n / 10 + '0, intr_n % 10 + '0
|
||||
.fill INTRNAME_LEN - 5 - 2 - 1, 1, ' '
|
||||
.ascii "#"
|
||||
.byte intr_n / 100 + '0
|
||||
.byte (intr_n % 100) / 10 + '0
|
||||
.byte intr_n % 10 + '0
|
||||
.fill INTRNAME_LEN - 1 - 3 - 1, 1, ' '
|
||||
.byte 0
|
||||
intr_n = intr_n + 1
|
||||
.endr
|
||||
|
@ -360,9 +360,11 @@ EXPORT(intrnames)
|
||||
.byte 0
|
||||
intr_n = 0
|
||||
.rept INTRCNT_COUNT - 1
|
||||
.ascii "intr "
|
||||
.byte intr_n / 10 + '0, intr_n % 10 + '0
|
||||
.fill INTRNAME_LEN - 5 - 2 - 1, 1, ' '
|
||||
.ascii "#"
|
||||
.byte intr_n / 100 + '0
|
||||
.byte (intr_n % 100) / 10 + '0
|
||||
.byte intr_n % 10 + '0
|
||||
.fill INTRNAME_LEN - 1 - 3 - 1, 1, ' '
|
||||
.byte 0
|
||||
intr_n = intr_n + 1
|
||||
.endr
|
||||
|
Loading…
Reference in New Issue
Block a user