Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Aug 2005 19:49:32 +0000 (UTC)
From:      Joseph Koshy <jkoshy@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/hwpmc hwpmc_mod.c hwpmc_x86.c
Message-ID:  <200508261949.j7QJnW5v076491@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jkoshy      2005-08-26 19:49:32 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/hwpmc        hwpmc_mod.c hwpmc_x86.c 
  Log:
  MFC:
   [ hwpmc_mod.c:1.14,1.15 ]
   - Print PMC capabilities at module load time.
  
   - Return EOPNOTSUPP instead of EINVAL if a PMC allocation request
     specifies a PMC capability (e.g., sampling) that is not supported
     by hardware.  Return EINVAL early if the PMC class passed in is
     not recognized.
  
   [ hwpmc_x86.c:1.3 ]
   - On x86 processors, turn off 'INTERRUPT' capabilities on PMCs
     if the CPU does not have its local APIC enabled.
  
  Approved by:    re (scottl)
  
  Revision  Changes    Path
  1.10.2.4  +24 -4     src/sys/dev/hwpmc/hwpmc_mod.c
  1.2.2.1   +13 -3     src/sys/dev/hwpmc/hwpmc_x86.c



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