From: Ingo Molnar <mingo@elte.hu>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: linuxppc-dev@ozlabs.org, Steven Rostedt <srostedt@redhat.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] tracing: Fix TRACING_SUPPORT dependency
Date: Sat, 21 Mar 2009 17:33:28 +0100 [thread overview]
Message-ID: <20090321163328.GH11183@elte.hu> (raw)
In-Reply-To: <alpine.DEB.2.00.0903211230580.13615@gandalf.stny.rr.com>
* Steven Rostedt <rostedt@goodmis.org> wrote:
>
> On Sat, 21 Mar 2009, Ingo Molnar wrote:
>
> >
> > * Anton Vorontsov <avorontsov@ru.mvista.com> wrote:
> >
> > > On Fri, Mar 20, 2009 at 08:57:43PM +0100, Ingo Molnar wrote:
> > > >
> > > > * Anton Vorontsov <avorontsov@ru.mvista.com> wrote:
> > > >
> > > > > On Fri, Mar 20, 2009 at 08:04:28PM +0100, Ingo Molnar wrote:
> > > > > >
> > > > > > * Anton Vorontsov <avorontsov@ru.mvista.com> wrote:
> > > > > >
> > > > > > > commit 40ada30f9621fbd831ac2437b9a2a399aad34b00 ("tracing: clean
> > > > > > > up menu"), despite the "clean up" in its purpose, introduced
> > > > > > > behavioural change for Kconfig symbols: we no longer able to
> > > > > > > select tracing support on PPC32 (because IRQFLAGS_SUPPORT isn't
> > > > > > > yet implemented).
> > > > > >
> > > > > > Could you please solve this by implementing proper
> > > > > > irqflag-tracing support? It's been available upstream for almost
> > > > > > three years. It's needed for lockdep support as well, etc.
> > > > >
> > > > > Breaking things via clean up patches is an interesting method of
> > > > > encouraging something to implement. ;-)
> > > > >
> > > > > Surely I'll look into implementing irqflags tracing, but
> > > > > considering that no one ever needed this for almost three years,
> > > > > [...]
> > > >
> > > > Weird, there's no lockdep support?
> > >
> > > *ashamed*: apparently no such support currently exist for PPC32. ;-)
> >
> > 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.
Ingo
next prev parent reply other threads:[~2009-03-21 16:33 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-20 15:09 [PATCH] tracing: Fix TRACING_SUPPORT dependency Anton Vorontsov
2009-03-20 19:04 ` Ingo Molnar
2009-03-20 19:39 ` Anton Vorontsov
2009-03-20 19:57 ` Ingo Molnar
2009-03-20 20:22 ` Anton Vorontsov
2009-03-21 16:18 ` Ingo Molnar
2009-03-21 16:31 ` Steven Rostedt
2009-03-21 16:33 ` Ingo Molnar [this message]
2009-03-21 16:41 ` Steven Rostedt
2009-03-21 16:43 ` Steven Rostedt
2009-03-21 16:46 ` Ingo Molnar
2009-03-23 22:07 ` [PATCH] tracing: Fix TRACING_SUPPORT dependency for PPC32 Anton Vorontsov
2009-03-24 0:51 ` Steven Rostedt
2009-03-24 5:43 ` [PATCH] tracing: Fix TRACING_SUPPORT dependency Benjamin Herrenschmidt
2009-03-21 3:09 ` Steven Rostedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090321163328.GH11183@elte.hu \
--to=mingo@elte.hu \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=rostedt@goodmis.org \
--cc=srostedt@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).