diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/hwpmc/hwpmc_mod.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sys/dev/hwpmc/hwpmc_mod.c b/sys/dev/hwpmc/hwpmc_mod.c index 111eccb..5ba6a44 100644 --- a/sys/dev/hwpmc/hwpmc_mod.c +++ b/sys/dev/hwpmc/hwpmc_mod.c @@ -4033,10 +4033,16 @@ pmc_initialize(void) if (error == 0) { printf(PMC_MODULE_NAME ":"); - for (n = 0; n < (int) md->pmd_nclass; n++) - printf(" %s(%d)", + for (n = 0; n < (int) md->pmd_nclass; n++) { + printf(" %s/%d/0x%b", pmc_name_of_pmcclass[md->pmd_classes[n].pm_class], - md->pmd_nclasspmcs[n]); + md->pmd_nclasspmcs[n], + md->pmd_classes[n].pm_caps, + "\20" + "\1INT\2USR\3SYS\4EDG\5THR" + "\6REA\7WRI\10INV\11QUA\12PRC" + "\13TAG\14CSC"); + } printf("\n"); } |