Re: svn commit: r358923 - in head: lib/libpmcstat usr.sbin/pmcstat

2020-03-12 Thread Ryan Moeller
> It's unclear from the context- is there any particular reason this > can't instead using sysctl kern.module_path and accept a semicolon > delimited list of directories for -k (maybe calling it -k kernelpath > instead)? No, that looks technically possible. -Ryan ___

Re: svn commit: r358923 - in head: lib/libpmcstat usr.sbin/pmcstat

2020-03-12 Thread Warner Losh
On Thu, Mar 12, 2020, 6:35 PM Kyle Evans wrote: > On Thu, Mar 12, 2020 at 6:05 PM Ryan Moeller wrote: > > > > Author: freqlabs > > Date: Thu Mar 12 23:04:40 2020 > > New Revision: 358923 > > URL: https://svnweb.freebsd.org/changeset/base/358923 > > > > Log: > > libpmcstat: Try /boot/modules if

Re: svn commit: r358923 - in head: lib/libpmcstat usr.sbin/pmcstat

2020-03-12 Thread Kyle Evans
On Thu, Mar 12, 2020 at 6:05 PM Ryan Moeller wrote: > > Author: freqlabs > Date: Thu Mar 12 23:04:40 2020 > New Revision: 358923 > URL: https://svnweb.freebsd.org/changeset/base/358923 > > Log: > libpmcstat: Try /boot/modules if module not found > > Modules from ports/pkg are commonly installe

svn commit: r358923 - in head: lib/libpmcstat usr.sbin/pmcstat

2020-03-12 Thread Ryan Moeller
Author: freqlabs Date: Thu Mar 12 23:04:40 2020 New Revision: 358923 URL: https://svnweb.freebsd.org/changeset/base/358923 Log: libpmcstat: Try /boot/modules if module not found Modules from ports/pkg are commonly installed to /boot/modules rather than to the same directory the kernel res