On Thu, Mar 12, 2020 at 6:05 PM Ryan Moeller <[email protected]> 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 <[email protected]> > 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 _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[email protected]"
