1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/usr.sbin
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
..
ac Sort sections. 2005-01-18 20:02:45 +00:00
accton
acpi Fix a small style problem and add a __packed pragma for safety. 2005-02-17 21:09:26 +00:00
adduser - Act according to the documentation (man page): 2005-04-28 12:44:02 +00:00
amd Generate locale-agnostic configuration date. 2005-02-16 21:02:50 +00:00
ancontrol Expand *n't contractions. 2005-02-13 22:25:33 +00:00
apm Expand *n't contractions. 2005-02-13 22:25:33 +00:00
apmd POWERSTATECHANGE was misspelled. 2005-03-24 01:26:40 +00:00
arlcontrol Use CFLAGS+=. 2005-02-09 10:35:28 +00:00
arp o Reorganize the previous delta to make it more style(9) compliant. 2005-01-24 17:01:48 +00:00
asf Sort sections. 2005-01-18 20:02:45 +00:00
atm Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
authpf
bluetooth Let bsd.prog.mk set SRCS and MAN to their default values. 2005-01-28 16:08:11 +00:00
boot0cfg Document how to make boot0cfg work on mounted disks. 2005-04-07 20:04:55 +00:00
boot98cfg Sort sections. 2005-01-18 20:02:45 +00:00
bootparamd Pass -C to rpcgen. 2005-02-09 12:17:52 +00:00
bsnmpd Enable tcp-wrapper support in the SNMP daemon. 2005-04-26 16:49:15 +00:00
btxld Fix the same problem that was fixed in rev. 1.6 and got reintroduced 2005-02-19 21:32:21 +00:00
burncd Sort sections. 2005-01-18 20:02:45 +00:00
cdcontrol Sort sections. 2005-01-18 20:02:45 +00:00
chkgrp Sort sections. 2005-01-18 20:02:45 +00:00
chown Expand *n't contractions. 2005-02-13 22:25:33 +00:00
chroot
ckdist Sort sections. 2005-01-18 20:02:45 +00:00
config Ask that "make cleandepend" be run before "make depend", now that 2005-04-22 17:42:50 +00:00
cron Fix parsing of '0' and non-alphanumerics in steps. Previously, an 2005-02-14 14:09:21 +00:00
crunch In crunchgen(1), when calling make(1), don't redirect stderr to stdout, 2005-01-20 10:49:03 +00:00
ctm Expand *n't contractions. 2005-02-13 22:25:33 +00:00
daemon Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
dconschat Fix typos in comments. 2005-03-11 14:20:09 +00:00
devinfo
digictl Sort sections. 2005-01-18 20:02:45 +00:00
diskinfo Sort sections. 2005-01-18 20:02:45 +00:00
dnssec-keygen
dnssec-signzone
editmap
edquota Sort sections. 2005-01-18 20:02:45 +00:00
eeprom Scheduled mdoc(7) sweep. 2005-01-11 11:47:22 +00:00
elf2exe Sort sections. 2005-01-18 20:02:45 +00:00
extattr
extattrctl Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
faithd plugged memory leak 2005-04-21 13:21:48 +00:00
fdcontrol Cleanup usr.sbin/fd* so they can compile under WARNS=6. 2005-01-08 15:46:06 +00:00
fdformat One of the DIAGNOSTICS sections should be EXIT STATUS. 2005-01-18 09:17:49 +00:00
fdread Expand *n't contractions. 2005-02-13 22:25:33 +00:00
fdwrite Expand *n't contractions. 2005-02-13 22:25:33 +00:00
flowctl Implement "verbose" optional keyword for "show" command. This is analog 2005-03-23 09:40:18 +00:00
fwcontrol Sort sections. 2005-01-18 20:02:45 +00:00
getfmac Remove unnecessary SRCS= where could be guessed directly by our 2005-01-27 14:52:47 +00:00
getpmac Remove unnecessary SRCS= where could be guessed directly by our 2005-01-27 14:52:47 +00:00
gstat Remove unnecessary SRCS= where could be guessed directly by our 2005-01-27 14:52:47 +00:00
i4b Fixed xrefs. 2005-01-21 10:35:40 +00:00
ifmcstat Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
inetd
iostat Expand *n't contractions. 2005-02-13 22:25:33 +00:00
ip6addrctl Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
IPXrouted
jail Fix spelling errors. 2005-04-30 09:26:22 +00:00
jexec
jls
kbdcontrol Sort sections. 2005-01-18 20:02:45 +00:00
kbdmap Let bsd.prog.mk set SRCS and MAN to their default values. 2005-01-28 16:08:11 +00:00
kernbb
keyserv The variable `ROOTKEY' has internal linkage in keyserv.c, don't declare it as 2005-02-10 09:09:18 +00:00
kgmon Sort sections. 2005-01-18 20:02:45 +00:00
kgzip Sort sections. 2005-01-18 20:02:45 +00:00
kldxref Doh, erase unused variable... 2005-03-03 06:38:00 +00:00
lastlogin
lpr MFS5: Minor style(9) tweak. 2005-02-22 02:56:42 +00:00
lptcontrol Remove useless mode argument to open(). 2005-01-25 14:25:18 +00:00
mailstats
mailwrapper
makemap
manctl
memcontrol Correct formatting of pointers in the listing by using "0x%" PRIx64 instead of 2005-03-29 20:17:47 +00:00
mergemaster Expand contractions. 2005-02-13 23:45:54 +00:00
mixer Add the -S flag which produces the -s output without 2005-04-13 07:11:54 +00:00
mld6query Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
mlxcontrol Sort sections. 2005-01-18 20:02:45 +00:00
mount_nwfs Expand *n't contractions. 2005-02-13 22:25:33 +00:00
mount_portalfs Remove wrong -unfilled .Bd argument implied by -literal. 2005-04-11 16:56:52 +00:00
mount_smbfs NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00
mountd Remove unused variables. 2005-04-09 14:59:10 +00:00
moused Support for the GTCO Digipad. 2005-04-13 07:25:45 +00:00
mptable Expand *n't contractions. 2005-02-13 22:25:33 +00:00
mrouted Expand contractions. 2005-02-15 09:27:00 +00:00
mtest
mtree Adds sha256 support. While it is a good idea to also add sha384 and 2005-03-29 11:44:17 +00:00
named
named-checkconf
named-checkzone
named.reload
ndiscvt Throw the switch on the new driver generation/loading mechanism. From 2005-04-24 20:21:22 +00:00
ndp Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
newsyslog Add the -N option to not rotate any files. This is to be used in 2005-03-03 15:47:32 +00:00
nfsd Bump the default maximum on nfsd processes from 20 to 256. Real-world 2005-01-23 21:34:00 +00:00
ngctl - Reduce the number of netgraph messages when listing 2005-02-09 16:17:33 +00:00
nghook Sort sections. 2005-01-18 20:02:45 +00:00
nologin Use __unused macro instead of a bare void for main(). 2005-01-04 20:07:12 +00:00
ntp Expand *n't contractions. 2005-02-13 22:25:33 +00:00
ofwdump
pccard Expand *n't contractions. 2005-02-13 22:25:33 +00:00
pciconf add some additional pci classes and sub-classes.. 2005-03-26 20:31:09 +00:00
pcvt Expand contractions. 2005-02-13 23:45:54 +00:00
periodic Sort sections. 2005-01-18 20:02:45 +00:00
pkg_install Change the PATH for pkg_add to be the same used for pointyhat package builds. 2005-03-19 19:20:19 +00:00
pmccontrol Add convenience APIs pmc_width() and pmc_capabilities() to -lpmc. 2005-05-01 14:11:49 +00:00
pmcstat Add convenience APIs pmc_width() and pmc_capabilities() to -lpmc. 2005-05-01 14:11:49 +00:00
pnpinfo Remove unnecessary SRCS= where could be guessed directly by our 2005-01-27 14:52:47 +00:00
powerd Drop the default running value to 60% from 80%. Testing shows that we 2005-04-10 20:42:55 +00:00
ppp Update the manual page for ppp(8). 2005-04-28 22:31:37 +00:00
pppctl Expand *n't contractions. 2005-02-13 22:25:33 +00:00
pppd NOCRYPT -> NO_CRYPT 2004-12-21 10:16:04 +00:00
pppstats
praliases
procctl
pstat Remove unused variables. 2005-04-09 14:59:10 +00:00
pw Remove unused variables. 2005-04-09 14:59:10 +00:00
pwd_mkdb Add endianness support. 2005-02-28 21:05:30 +00:00
quot Remove unused variables. 2005-04-09 14:59:10 +00:00
quotaon
rarpd Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
raycontrol Expand *n't contractions. 2005-02-13 22:25:33 +00:00
repquota Sort sections. 2005-01-18 20:02:45 +00:00
rip6query Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
rmt Sort sections. 2005-01-18 20:02:45 +00:00
rndc
rndc-confgen
route6d Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
rpc.lockd Consumers of nfslockdans() seems to think it should return 0 on success, so 2005-03-16 23:55:48 +00:00
rpc.statd Sort sections. 2005-01-18 20:02:45 +00:00
rpc.umntall Expand *n't contractions. 2005-02-13 22:25:33 +00:00
rpc.yppasswdd Expand contractions. 2005-02-13 23:45:54 +00:00
rpc.ypupdated Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
rpc.ypxfrd Expand *n't contractions. 2005-02-13 22:25:33 +00:00
rpcbind Sort sections. 2005-01-18 20:02:45 +00:00
rrenumd Expand contractions. 2005-02-15 09:27:00 +00:00
rtadvd Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
rtprio Sort sections. 2005-01-18 20:02:45 +00:00
rtsold Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
rwhod Fix most cases where the address of an int is passed to a function expecting a 2005-02-14 17:42:58 +00:00
sa Expand contractions. 2005-02-13 23:45:54 +00:00
sade Add ntp.jst.mfeed.ad.jp and ntp1.v6.mfeed.ad.jp (IPv6 only) to 2005-05-01 08:19:54 +00:00
sendmail NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
setfmac Remove unnecessary SRCS= where could be guessed directly by our 2005-01-27 14:52:47 +00:00
setkey Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
setpmac Remove unnecessary SRCS= where could be guessed directly by our 2005-01-27 14:52:47 +00:00
sicontrol
sliplogin Remove an unused variable and a useless getuid() declaration. 2005-04-09 15:00:51 +00:00
slstat
smbmsg Sort sections. 2005-01-18 20:02:45 +00:00
spkrtest
spray
sysinstall Add ntp.jst.mfeed.ad.jp and ntp1.v6.mfeed.ad.jp (IPv6 only) to 2005-05-01 08:19:54 +00:00
syslogd Add -S option which allows to change the pathname of the privileged 2005-04-13 03:19:41 +00:00
tcpdchk NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
tcpdmatch NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
tcpdrop o Improve the example a bit. 2005-03-14 14:12:29 +00:00
tcpdump NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
timed Sort sections. 2005-01-18 20:02:45 +00:00
traceroute NOIPSEC -> TRACEROUTE_NO_IPSEC 2004-12-21 12:44:20 +00:00
traceroute6 Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
trpt Expand *n't contractions. 2005-02-13 22:25:33 +00:00
tzsetup Sort sections. 2005-01-18 20:02:45 +00:00
ugidfw Add prototypes and remove unused variables for WARNS=6 compliance. Add 2005-01-16 10:49:48 +00:00
usbd Sort sections. 2005-01-18 20:02:45 +00:00
usbdevs
vidcontrol WANRS=6 cleanup for vidcontrol(1): 2005-01-13 03:59:44 +00:00
vipw
vnconfig Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
watch Sort sections. 2005-01-18 20:02:45 +00:00
watchdogd When disarming a watchdog by using an interval of WD_TO_NEVER a non-zero 2005-03-19 01:46:37 +00:00
wicontrol Expand *n't contractions. 2005-02-13 22:25:33 +00:00
wlconfig
yp_mkdb Expand *n't contractions. 2005-02-13 22:25:33 +00:00
ypbind Expand *n't contractions. 2005-02-13 22:25:33 +00:00
yppoll
yppush (handler): When exitting upon an abnormal signal, yppush_exit() should not 2005-04-12 15:02:57 +00:00
ypserv Use socklen_t where appropriate. 2005-03-11 14:17:12 +00:00
ypset
zic Expand contractions. 2005-02-13 23:45:54 +00:00
zzz
Makefile all the ipfilter tools are now built from sbin/Makefile, so remove them from 2005-04-25 19:04:12 +00:00
Makefile.inc