Re: -rt doesn't compile for UML

From: Ingo Molnar
Date: Wed Nov 28 2007 - 12:02:31 EST



* Miklos Szeredi <miklos@xxxxxxxxxx> wrote:

> > so you can define irqs_off_flags to always-0 and you should be able
> > to get pretty good traces still. It should have no functional
> > impact.
>
> OK, managed to make it compile, but then something goes wrong in
> tracer_alloc_bootmem().

try with a lower MAX_TRACE first - 1 million entries (default) uses up
like 32 MB of RAM per CPU, that might be quite a bit and your UML image
might not be able to take that.

also, you can do a s/trace_alloc_bootmem/alloc_bootmem - the
alloc-bootmem wrapping was only done to get the tracer boot with really
ridiculously high MAX_TRACE.

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/