Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2008 04:21:59 +0000 (UTC)
From:      Joseph Koshy <jkoshy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r184997 - head/sys/dev/hwpmc
Message-ID:  <200811160421.mAG4Lx4m042719@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811160421.mAG4Lx4m042719>