dtraceall.ko with old nfsclient
Sean Bruno
seanbru at yahoo-inc.com
Tue Jul 10 17:02:09 UTC 2012
On Tue, 2012-07-10 at 06:41 -0700, Fabian Keil wrote:
> > >
> --- //depot/yahoo/ybsd_9/src/sys/modules/dtrace/dtraceall/dtraceall.c
> > > 2011-11-02 23:46:55.000000000 0000
> > >
> +++ /home/seanbru/dtrace_9/src/sys/modules/dtrace/dtraceall/dtraceall.c
> > > 2011-11-02 23:46:55.000000000 0000
> > > @@ -66,8 +66,11 @@
> > > MODULE_DEPEND(dtraceall, opensolaris, 1, 1, 1);
> > > MODULE_DEPEND(dtraceall, dtrace, 1, 1, 1);
> > > MODULE_DEPEND(dtraceall, dtmalloc, 1, 1, 1);
> > > +#if defined (NFSCL)
> > > MODULE_DEPEND(dtraceall, dtnfscl, 1, 1, 1);
> > > +#else /* defined (NFSCLIENT) */
>
> Any objections to changing this to
> #elif defined (NFSCLIENT)
> ?
No objections here. I suspect that this is the more correct thing
regardless. I mean, it keeps the nfs dtrace objects loading in the
event someone is running a non-nfs kernel... right?
Sean
More information about the freebsd-hackers
mailing list