[Top] [All Lists]

Re: [PATCH -v5 09/11] tracing: add IRQENTRY_EXIT for MIPS

To: Wu Zhangjin <>
Subject: Re: [PATCH -v5 09/11] tracing: add IRQENTRY_EXIT for MIPS
From: Frederic Weisbecker <>
Date: Mon, 26 Oct 2009 01:36:28 +0100
Cc:,,, Thomas Gleixner <>, Ralf Baechle <>, Nicholas Mc Guire <>, Richard Sandiford <>, David Daney <>, Adam Nemet <>, Patrik Kluba <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=lp5lwT5L6MFUpGEftnzy5BOT7DwKEmE5uVR4LTcDfMc=; b=HOPDih/niVuEzFN016RIn4fg+/8SsO18w4BPosuGzPxRiMG6+kLLoads267/TvkHkF 76ZV8XgdcRpa+K4x1hHTB33GgAB93MfOVKdkz4AkOpPXwbWderO/t9kOAsP5B9IK/jsP GybU+cxgo9RsNw5glAK6SIqbi9DXWMu+gnKqY=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=hu/WN6zuSz9sJGNYAj8BoZqXil4cDp6hrjQiwyi0LmAddAAMzoRwBCbuzKOKBzhE5l SZ3uIoUvUtR77s6UD1FLrCu8IZmU/gthr+3AwB304+9QcHEbzzBSoynKbP+mXz3GwjMm ykQTE/aqk494mT+Yv+CWLSTsptBIRXqeFna44=
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <> <> <> <> <> <> <>
2009/10/25 Wu Zhangjin <>:
> This patch fix the following error with FUNCTION_GRAPH_TRACER=y:
> kernel/built-in.o: In function `print_graph_irq':
> trace_functions_graph.c:(.text+0x6dba0): undefined reference to 
> `__irqentry_text_start'
> trace_functions_graph.c:(.text+0x6dba8): undefined reference to 
> `__irqentry_text_start'
> trace_functions_graph.c:(.text+0x6dbd0): undefined reference to 
> `__irqentry_text_end'
> trace_functions_graph.c:(.text+0x6dbd4): undefined reference to 
> `__irqentry_text_end'
> (This patch is need to support function graph tracer of MIPS)

If you want to enjoy this section, you'd need to tag the
mips irq entry functions with "__irq_entry"  :)

I guess there is a do_IRQ() in mips that is waiting for that (and
probably some others).
The effect is that interrupt areas are cut with a pair of arrows
in the trace, so that you more easily spot interrupts in the traces

May be I missed this part in another patch in this series though...

<Prev in Thread] Current Thread [Next in Thread>