[lkml]   [2009]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[tip:tracing/ftrace] tracing: Fix TRACING_SUPPORT dependency for PPC32
    Commit-ID:  45b9560895b07a4a09d55d49235c984db512c5aa
    Author: Anton Vorontsov <>
    AuthorDate: Tue, 24 Mar 2009 01:07:24 +0300
    Committer: Ingo Molnar <>
    CommitDate: Mon, 23 Mar 2009 23:23:03 +0100

    tracing: Fix TRACING_SUPPORT dependency for PPC32

    commit 40ada30f9621fbd831ac2437b9a2a399aa ("tracing: clean up menu"),
    despite the "clean up" in its purpose, introduced a behavioural
    change for Kconfig symbols: we no longer able to select tracing
    support on PPC32 (because IRQFLAGS_SUPPORT isn't yet implemented).

    The IRQFLAGS_SUPPORT is not mandatory for most tracers, tracing core
    has a special case for platforms w/o irqflags (which, by the way, has
    become useless as of the commit above).

    Though according to Ingo Molnar, there was periodic build failures on
    weird, unmaintained architectures that had no irqflags-tracing support
    and hence didn't know the raw_irqs_save/restore primitives. Thus we'd
    better not enable irqflags-less tracing for all architectures.

    This patch restores the old behaviour for PPC32, and thus brings the
    tracing back. Other architectures can either add themselves to the
    exception list or (better) implement TRACE_IRQFLAGS_SUPPORT.

    Signed-off-by: Anton Vorontsov <>
    Acked-b: Steven Rostedt <>
    LKML-Reference: <>
    Signed-off-by: Ingo Molnar <>

    kernel/trace/Kconfig | 6 +++++-
    1 files changed, 5 insertions(+), 1 deletions(-)

    diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
    index b0a46f8..8a4d729 100644
    --- a/kernel/trace/Kconfig
    +++ b/kernel/trace/Kconfig
    @@ -63,7 +63,11 @@ config TRACING
    + # PPC32 has no irqflags tracing support, but it can use most of the
    + # tracers anyway, they were tested to build and work. Note that new
    + # exceptions to this list aren't welcomed, better implement the
    + # irqflags tracing for your architecture.
    + depends on TRACE_IRQFLAGS_SUPPORT || PPC32
    default y

     \ /
      Last update: 2009-03-23 23:27    [W:0.027 / U:51.492 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site