Re: [PATCH] tracing: fix a build error on alpha and m68k

From: Frédéric Weisbecker
Date: Thu Oct 23 2008 - 13:38:58 EST


2008/10/23 Ingo Molnar <mingo@xxxxxxx>:
> hm, zapped the commit then.
>
> the problem is most likely that none of these architectures is lockdep
> enabled, hence they have no irqtrace wrappers, hence not all of the
> tracers can be built on them?
>
> Ingo
>

But they should be able to use the tracing for several other tracers.
One other problem is that you need CONFIG_TRACE_IRQFLAGS (is that a
lockdep or just trace feature?) to use any tracer since the
tracing_cpumask file is always created for all tracer. This file has
tracing_cpumask_write() as a write operation, and this func uses
raw_local_funcs....

Perhaps we should disable the tracing_cpu_mask related things if
TRACE_IRQFLAGS in not configured?
--
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/