Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/booke Count debug traps.



details:   https://anonhg.NetBSD.org/src/rev/fcbb3ac18b70
branches:  trunk
changeset: 762146:fcbb3ac18b70
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Feb 16 18:44:54 2011 +0000

description:
Count debug traps.

diffstat:

 sys/arch/powerpc/booke/booke_machdep.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r df85a315109d -r fcbb3ac18b70 sys/arch/powerpc/booke/booke_machdep.c
--- a/sys/arch/powerpc/booke/booke_machdep.c    Wed Feb 16 18:43:35 2011 +0000
+++ b/sys/arch/powerpc/booke/booke_machdep.c    Wed Feb 16 18:44:54 2011 +0000
@@ -387,6 +387,8 @@
                &ci->ci_ev_traps, xname, "system call traps");
        evcnt_attach_dynamic_nozero(&ci->ci_ev_pgm, EVCNT_TYPE_TRAP,
                &ci->ci_ev_traps, xname, "PGM traps");
+       evcnt_attach_dynamic_nozero(&ci->ci_ev_debug, EVCNT_TYPE_TRAP,
+               &ci->ci_ev_traps, xname, "debug traps");
        evcnt_attach_dynamic_nozero(&ci->ci_ev_fpu, EVCNT_TYPE_TRAP,
                &ci->ci_ev_traps, xname, "FPU unavailable traps");
        evcnt_attach_dynamic_nozero(&ci->ci_ev_fpusw, EVCNT_TYPE_MISC,



Home | Main Index | Thread Index | Old Index