Re: [patch] Latency Tracer, voluntary-preempt-2.6.8-rc4-O6

Lee Revell
2004-08-13T03:53:29Z

On Thu, 2004-08-12 at 22:39, Lee Revell wrote:
> On Thu, 2004-08-12 at 21:31, Lee Revell wrote:
> > On Thu, 2004-08-12 at 21:25, Lee Revell wrote:
> > > Does not compile. For each module I get:
> > >
> >
> > Never mind, stupid mistake on my part.
> >
>
> Argh, this is actually a fatal bug, and not a mistake on my part.
> mcount is an unknown symbol, and make modules_install does not like
> that.
>
> I checked Module.symvers and it is not in there, but this seems to be a
> generated file, and I have no idea why mcount does not appear.
>

I think appending this to i386_ksyms.c fixes the problem:

#ifdef CONFIG_PREEMPT_TIMING
EXPORT_SYMBOL(mcount);
#endif

Possibly that should be CONFIG_LATENCY_TRACE.

Lee