Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Mar 2020 19:34:48 -0500
From:      Kyle Evans <self@kyle-evans.net>
To:        Ryan Moeller <freqlabs@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>,  svn-src-head <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r358923 - in head: lib/libpmcstat usr.sbin/pmcstat
Message-ID:  <CACNAnaGdt=QB0NHXnRo2QbdWy%2BVL4-cXnuXsj5B393qzKQXRdw@mail.gmail.com>
In-Reply-To: <202003122304.02CN4fXO062077@repo.freebsd.org>
References:  <202003122304.02CN4fXO062077@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 12, 2020 at 6:05 PM Ryan Moeller <freqlabs@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaGdt=QB0NHXnRo2QbdWy%2BVL4-cXnuXsj5B393qzKQXRdw>