<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/arch/alpha/include/asm/ftrace.h, branch v3.2.34</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>tracing: make CALLER_ADDRx overwriteable</title>
<updated>2009-03-02T21:49:37+00:00</updated>
<author>
<name>Uwe Kleine-Koenig</name>
<email>u.kleine-koenig@pengutronix.de</email>
</author>
<published>2009-02-27T20:30:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c79a61f55773d2519fd0525bf58385f7d20752d3'/>
<id>c79a61f55773d2519fd0525bf58385f7d20752d3</id>
<content type='text'>
The current definition of CALLER_ADDRx isn't suitable for all platforms.
E.g. for ARM __builtin_return_address(N) doesn't work for N &gt; 0 and
AFAIK for powerpc there are no frame pointers needed to have a working
__builtin_return_address.  This patch allows defining the CALLER_ADDRx
macros in &lt;asm/ftrace.h&gt; and let these take precedence.

Because now &lt;asm/ftrace.h&gt; is included unconditionally in
&lt;linux/ftrace.h&gt; all archs that don't already had this include get an
empty one for free.

Signed-off-by: Uwe Kleine-Koenig &lt;u.kleine-koenig@pengutronix.de&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Reviewed-by: KOSAKI Motohiro &lt;kosaki.motohiro@jp.fujitsu.com&gt;
Signed-off-by: Steven Rostedt &lt;srostedt@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current definition of CALLER_ADDRx isn't suitable for all platforms.
E.g. for ARM __builtin_return_address(N) doesn't work for N &gt; 0 and
AFAIK for powerpc there are no frame pointers needed to have a working
__builtin_return_address.  This patch allows defining the CALLER_ADDRx
macros in &lt;asm/ftrace.h&gt; and let these take precedence.

Because now &lt;asm/ftrace.h&gt; is included unconditionally in
&lt;linux/ftrace.h&gt; all archs that don't already had this include get an
empty one for free.

Signed-off-by: Uwe Kleine-Koenig &lt;u.kleine-koenig@pengutronix.de&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Reviewed-by: KOSAKI Motohiro &lt;kosaki.motohiro@jp.fujitsu.com&gt;
Signed-off-by: Steven Rostedt &lt;srostedt@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
