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

Kyle Evans self at kyle-evans.net
Fri Mar 13 00:35:02 UTC 2020


On Thu, Mar 12, 2020 at 6:05 PM Ryan Moeller <freqlabs at freebsd.org> 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 installed to /boot/modules rather than to
>   the same directory the kernel resides in.  Look there if a module is not found
>   next to the kernel.
>
>   Submitted by: mmacy
>   Reported by:  Nick Principe <nap at iXsystems.com>
>   Approved by:  mmacy (mentor)
>   MFC after:    2 weeks
>   Sponsored by: iXsystems, Inc.
>

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)?

Thanks,

Kyle Evans


More information about the svn-src-all mailing list