version 1.1.2.20, 2011/11/29 07:48:31 |
version 1.1.2.21, 2011/12/03 01:56:55 |
Line 242 cpu_attach_common(device_t self, struct |
|
Line 242 cpu_attach_common(device_t self, struct |
|
evcnt_attach_dynamic(&ci->ci_ev_fpu_saves, |
evcnt_attach_dynamic(&ci->ci_ev_fpu_saves, |
EVCNT_TYPE_MISC, NULL, xname, |
EVCNT_TYPE_MISC, NULL, xname, |
"fpu saves"); |
"fpu saves"); |
evcnt_attach_dynamic(&ci->ci_ev_tlbmisses, |
evcnt_attach_dynamic(&ci->ci_ev_user_tlbmisses, |
EVCNT_TYPE_TRAP, NULL, xname, |
EVCNT_TYPE_TRAP, NULL, xname, |
"tlb misses"); |
"user tlb misses"); |
|
evcnt_attach_dynamic(&ci->ci_ev_kern_tlbmisses, |
|
EVCNT_TYPE_TRAP, NULL, xname, |
|
"kern tlb misses"); |
|
evcnt_attach_dynamic(&ci->ci_ev_tlblocked, |
|
EVCNT_TYPE_MISC, NULL, xname, |
|
"tlb locked"); |
|
|
if (ci == &cpu_info_store) |
if (ci == &cpu_info_store) |
pmap_tlb_info_evcnt_attach(ci->ci_tlb_info); |
pmap_tlb_info_evcnt_attach(ci->ci_tlb_info); |