diff options
author | jhb <jhb@FreeBSD.org> | 2015-06-01 18:05:30 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2015-06-01 18:05:30 +0000 |
commit | ed437ec23ce9e663b9b89d839cade53697620378 (patch) | |
tree | 060daaec3e5160ed5404cdd5b1cef72f80d80201 /usr.sbin/pmcstat/pmcstat.8 | |
parent | 7a2aa2a780fad093e89f575f957bc61e536735c4 (diff) | |
download | FreeBSD-src-ed437ec23ce9e663b9b89d839cade53697620378.zip FreeBSD-src-ed437ec23ce9e663b9b89d839cade53697620378.tar.gz |
MFC 282643:
Use the kern.bootfile sysctl to set the default kernel path rather than
hardcoding /boot/kernel. This allows pmcstat(8) to work without -k when
using nextboot -k or 'boot foo' at the loader to boot alternate kernels.
Sponsored by: Norse Corp, Inc.
Diffstat (limited to 'usr.sbin/pmcstat/pmcstat.8')
-rw-r--r-- | usr.sbin/pmcstat/pmcstat.8 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/pmcstat/pmcstat.8 b/usr.sbin/pmcstat/pmcstat.8 index 81572b2..af54cea 100644 --- a/usr.sbin/pmcstat/pmcstat.8 +++ b/usr.sbin/pmcstat/pmcstat.8 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd Oct 27, 2014 +.Dd May 8, 2015 .Dt PMCSTAT 8 .Os .Sh NAME @@ -279,8 +279,9 @@ Set the pathname of the kernel directory to argument This directory specifies where .Nm should look for the kernel and its modules. -The default is -.Pa /boot/kernel . +The default is to use the path of the running kernel obtained from the +.Va kern.bootfile +sysctl. .It Fl l Ar secs Set system-wide performance measurement duration for .Ar secs |