svn commit: r249402 - stable/9/sys/kern
Konstantin Belousov
kib at FreeBSD.org
Fri Apr 12 13:04:24 UTC 2013
Author: kib
Date: Fri Apr 12 13:04:23 2013
New Revision: 249402
URL: http://svnweb.freebsd.org/changeset/base/249402
Log:
MFC r249163:
If filter of the interrupt event is not null, print it, in addition to
the handler address. Add a mark to distinguish between filter and
handler.
Modified:
stable/9/sys/kern/kern_intr.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/kern/kern_intr.c
==============================================================================
--- stable/9/sys/kern/kern_intr.c Fri Apr 12 11:37:24 2013 (r249401)
+++ stable/9/sys/kern/kern_intr.c Fri Apr 12 13:04:23 2013 (r249402)
@@ -1748,7 +1748,16 @@ db_dump_intrhand(struct intr_handler *ih
break;
}
db_printf(" ");
- db_printsym((uintptr_t)ih->ih_handler, DB_STGY_PROC);
+ if (ih->ih_filter != NULL) {
+ db_printf("[F]");
+ db_printsym((uintptr_t)ih->ih_filter, DB_STGY_PROC);
+ }
+ if (ih->ih_handler != NULL) {
+ if (ih->ih_filter != NULL)
+ db_printf(",");
+ db_printf("[H]");
+ db_printsym((uintptr_t)ih->ih_handler, DB_STGY_PROC);
+ }
db_printf("(%p)", ih->ih_argument);
if (ih->ih_need ||
(ih->ih_flags & (IH_EXCLUSIVE | IH_ENTROPY | IH_DEAD |
More information about the svn-src-stable-9
mailing list