[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0903211239170.13615@gandalf.stny.rr.com>
Date: Sat, 21 Mar 2009 12:41:42 -0400 (EDT)
From: Steven Rostedt <rostedt@...dmis.org>
To: Ingo Molnar <mingo@...e.hu>
cc: Anton Vorontsov <avorontsov@...mvista.com>,
Steven Rostedt <srostedt@...hat.com>, linuxppc-dev@...abs.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tracing: Fix TRACING_SUPPORT dependency
On Sat, 21 Mar 2009, Ingo Molnar wrote:
> > >
> > > Hm, do all the tracers even compile on ppc32 with your patch?
> > >
> > > We had periodic build failures on weird, unmaintained architectures
> > > that had no irqflags-tracing support and hence didnt know the
> > > raw_irqs_save/restore primitives ...
> > >
> > > I'm not trying to make things more difficult for you (and we can
> > > apply your patch if it builds fine and does not cause problems
> > > elsewhere), but there were some real downsides to not having proper
> > > irq APIs ...
> >
> > Note, the issue is not with the hooks into local_irq_save/restore,
> > but with the entry.S code. That code is very sensitive where the
> > irqs are enabled and disabled.
>
> i know. What i'm talking about is that non-lockdep architectures
> have the habit of not defining raw_local_irq_save() - which the
> tracing core relies on.
Since we know that's not an issue with PPC32, perhaps we should add (I
hate to do this)...
depends on TRACE_IRQFLAGS_SUPPORT || PPC32
And document that the "|| PPC32" should go when PowerPC32 gets its act
together. :-/
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists