Re: -rt doesn't compile for UML

From: Ingo Molnar
Date: Wed Nov 28 2007 - 10:42:20 EST



* Miklos Szeredi <miklos@xxxxxxxxxx> wrote:

> > On Wed, Nov 28, 2007 at 02:09:45PM +0100, Miklos Szeredi wrote:
> > > kernel/latency_trace.c:28:21: error: asm/rtc.h: No such file or directory
> >
> > For things like this, look at the host's asm/foo.h and see if it's
> > usable in UML (and contains things that you need). If it is, just
> > make a asm-um/foo.h which just includes "asm/arch/foo.h".
>
> Yeah, I know that trick :)
>
> It doesn't help in this case. I've gotten as far as realizing that
> the latency tracer needs the irqflags tracing
> (Documentation/irqflags-tracing.tx) and that UML doesn't yet support
> that.

it doesnt need it - turn IRQOFF_TRACING off. You want FUNCTION_TRACING
to work (and perhaps WAKEUP_TIMING) so that you can take a look at
what's going on, right?

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/