<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/Intel-BMC/linux.git/arch/blackfin/include/asm/ftrace.h, branch dev</title>
<subtitle>Intel OpenBMC Linux kernel source tree (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev</id>
<link rel='self' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/'/>
<updated>2014-05-21T07:10:32+00:00</updated>
<entry>
<title>ftrace: Make CALLER_ADDRx macros more generic</title>
<updated>2014-05-21T07:10:32+00:00</updated>
<author>
<name>AKASHI Takahiro</name>
<email>takahiro.akashi@linaro.org</email>
</author>
<published>2014-05-20T11:31:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=eed542d6962ba33a689b4007a389f466e407bd74'/>
<id>urn:sha1:eed542d6962ba33a689b4007a389f466e407bd74</id>
<content type='text'>
Most archs with HAVE_ARCH_CALLER_ADDR have pretty much the same
definitions of CALLER_ADDRx(n). Instead of duplicating the code for all
the archs, define a ftrace_return_address0() and
ftrace_return_address(n) that can be overwritten by the archs if they
need to do something different. Instead of 7 macros in every arch, we
now only have at most 2 (and actually only 1 as
ftrace_return_address0() should be the same for all archs).

The CALLER_ADDRx(n) will now be defined in linux/ftrace.h and use the
ftrace_return_address*(n?) macros. This removes a lot of the duplicate
code.

Link: http://lkml.kernel.org/p/1400585464-30333-1-git-send-email-takahiro.akashi@linaro.org

Signed-off-by: AKASHI Takahiro &lt;takahiro.akashi@linaro.org&gt;
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>Blackfin: add support for dynamic ftrace</title>
<updated>2010-08-06T16:55:54+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2010-07-21T13:13:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=f5074429621ceb0ec42f8116bd51d02c031faf82'/>
<id>urn:sha1:f5074429621ceb0ec42f8116bd51d02c031faf82</id>
<content type='text'>
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>Blackfin: add CALLER_ADDR ftrace macros</title>
<updated>2010-03-09T05:30:50+00:00</updated>
<author>
<name>Yi Li</name>
<email>yi.li@analog.com</email>
</author>
<published>2010-01-26T04:02:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=7136d9c5e874813ccbd1d438924c413b7305944c'/>
<id>urn:sha1:7136d9c5e874813ccbd1d438924c413b7305944c</id>
<content type='text'>
Since GCC doesn't support __builtin_frame_address(n) where n!=0, add our
own function to walk the stack frame pointers.

Signed-off-by: Yi Li &lt;yi.li@analog.com&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>Blackfin: update ftrace for latest toolchain</title>
<updated>2009-09-17T02:10:52+00:00</updated>
<author>
<name>Yi Li</name>
<email>yi.li@analog.com</email>
</author>
<published>2009-09-15T09:24:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=5bf9cbef9972f851172391a37261b12bba63f733'/>
<id>urn:sha1:5bf9cbef9972f851172391a37261b12bba63f733</id>
<content type='text'>
The mcount support that was finally added to the Blackfin gcc port isn't
exactly the same as what ftrace was developed against.  Now that the final
gcc version is in place, update the ftrace code to match.

While updating this, fix the swapped arguments to the tracer (signature is
(ip, parent_ip) while we were passing (parent_ip, ip)).

Signed-off-by: Yi Li &lt;yi.li@analog.com&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>Blackfin: initial support for ftrace</title>
<updated>2009-06-13T11:20:15+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2009-06-09T11:25:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=1c873be744410e26fb91ee9228c90adff6eabe15'/>
<id>urn:sha1:1c873be744410e26fb91ee9228c90adff6eabe15</id>
<content type='text'>
Just the basic ftrace support here -- mcount and the ftrace stub.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<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.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=c79a61f55773d2519fd0525bf58385f7d20752d3'/>
<id>urn:sha1: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>
</entry>
</feed>
