Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Mar 2020 20:52:59 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Kyle Evans <self@kyle-evans.net>
Cc:        Ryan Moeller <freqlabs@freebsd.org>, 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:  <CANCZdfoONdAAXcRag6wGMbTQqvxGvVR67sFasADM%2BL1c5%2BCKdQ@mail.gmail.com>
In-Reply-To: <CACNAnaGdt=QB0NHXnRo2QbdWy%2BVL4-cXnuXsj5B393qzKQXRdw@mail.gmail.com>
References:  <202003122304.02CN4fXO062077@repo.freebsd.org> <CACNAnaGdt=QB0NHXnRo2QbdWy%2BVL4-cXnuXsj5B393qzKQXRdw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 12, 2020, 6:35 PM Kyle Evans <self@kyle-evans.net> wrote:

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

There are also #defines for these paths.

Warner

Thanks,
>
> Kyle Evans
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoONdAAXcRag6wGMbTQqvxGvVR67sFasADM%2BL1c5%2BCKdQ>