svn commit: r184997 - head/sys/dev/hwpmc

Joseph Koshy jkoshy at FreeBSD.org
Sat Nov 15 20:22:00 PST 2008


Author: jkoshy
Date: Sun Nov 16 04:21:59 2008
New Revision: 184997
URL: http://svn.freebsd.org/changeset/base/184997

Log:
  Print PMC widths in the initialization announcement.

Modified:
  head/sys/dev/hwpmc/hwpmc_mod.c

Modified: head/sys/dev/hwpmc/hwpmc_mod.c
==============================================================================
--- head/sys/dev/hwpmc/hwpmc_mod.c	Sat Nov 15 22:23:07 2008	(r184996)
+++ head/sys/dev/hwpmc/hwpmc_mod.c	Sun Nov 16 04:21:59 2008	(r184997)
@@ -4539,9 +4539,10 @@ pmc_initialize(void)
 		printf(PMC_MODULE_NAME ":");
 		for (n = 0; n < (int) md->pmd_nclass; n++) {
 			pcd = &md->pmd_classdep[n];
-			printf(" %s/%d/0x%b",
+			printf(" %s/%d/%d/0x%b",
 			    pmc_name_of_pmcclass[pcd->pcd_class],
 			    pcd->pcd_num,
+			    pcd->pcd_width,
 			    pcd->pcd_caps,
 			    "\20"
 			    "\1INT\2USR\3SYS\4EDG\5THR"


More information about the svn-src-all mailing list