freebsd-dev/share
Joseph Koshy c5153e190b Add convenience APIs pmc_width() and pmc_capabilities() to -lpmc.
Have pmcstat(8) and pmccontrol(8) use these APIs.

Return PMC class-related constants (PMC widths and capabilities)
with the OP GETCPUINFO call leaving OP PMCINFO to return only the
dynamic information associated with a PMC (i.e., whether enabled,
owner pid, reload count etc.).

Allow pmc_read() (i.e., OPS PMCRW) on active self-attached PMCs to
get upto-date values from hardware since we can guarantee that the
hardware is running the correct PMC at the time of the call.

Bug fixes:
 - (x86 class processors) Fix a bug that prevented an RDPMC
   instruction from being recognized as permitted till after the
   attached process had context switched out and back in again after
   a pmc_start() call.

   Tighten the rules for using RDPMC class instructions: a GETMSR
   OP is now allowed only after an OP ATTACH has been done by the
   PMC's owner to itself.  OP GETMSR is not allowed for PMCs that
   track descendants, for PMCs attached to processes other than
   their owner processes.

 - (P4/HTT processors only) Fix a bug that caused the MI and MD
   layers to get out of sync.  Add a new MD operation 'get_config()'
   as part of this fix.

 - Allow multiple system-mode PMCs at the same row-index but on
   different CPUs to be allocated.

 - Reject allocation of an administratively disabled PMC.

Misc. code cleanups and refactoring.  Improve a few comments.
2005-05-01 14:11:49 +00:00
..
colldef New Ukrainian locale: uk_UA.CP1251. 2005-03-04 14:24:30 +00:00
dict Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
doc Bring a working snapshot of hwpmc(4), its associated libraries, userland utilities 2005-04-19 04:01:25 +00:00
examples Bring a working snapshot of hwpmc(4), its associated libraries, userland utilities 2005-04-19 04:01:25 +00:00
info Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
isdn
man Add convenience APIs pmc_width() and pmc_capabilities() to -lpmc. 2005-05-01 14:11:49 +00:00
me Fix typos (s/seperat/separat/ et al); add FreeBSD ID. 2002-08-12 10:04:32 +00:00
misc Regen: 2005-04-12 13:03:42 +00:00
mk Toggle on warnings. This resolves the problem with building old releases 2005-04-29 14:44:10 +00:00
mklocale Comments correction 2005-04-21 09:15:19 +00:00
monetdef New Ukrainian locale: uk_UA.CP1251. 2005-03-04 14:24:30 +00:00
msgdef New Ukrainian locale: uk_UA.CP1251. 2005-03-04 14:24:30 +00:00
numericdef New Ukrainian locale: uk_UA.CP1251. 2005-03-04 14:24:30 +00:00
security Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
sendmail Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
skel Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
snmp Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
syscons Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
tabset
termcap Add endianness support to cap_mkdb(1), useful for cross builds. 2005-02-22 23:29:54 +00:00
timedef New Ukrainian locale: uk_UA.CP1251. 2005-03-04 14:24:30 +00:00
zoneinfo Latest IERS Bulletin C (#29): no leap second on 2005-06-30. 2005-01-15 21:53:24 +00:00
Makefile Add NO_DICT handle. Saves almost 3.5 MB installed. 2005-04-13 10:02:58 +00:00
Makefile.inc