]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 282643:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 1 Jun 2015 18:05:30 +0000 (18:05 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 1 Jun 2015 18:05:30 +0000 (18:05 +0000)
commit3edb0b044872fc8eabeb928054ebf7b90ab889bd
tree060daaec3e5160ed5404cdd5b1cef72f80d80201
parentadc033bd39d7b81a64b2b2fdeef661ca3b9dde57
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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@283885 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/pmcstat/pmcstat.8
usr.sbin/pmcstat/pmcstat.c