History log of /arch/blackfin/include/asm/ftrace.h
Revision Date Author Comments
f5074429621ceb0ec42f8116bd51d02c031faf82 21-Jul-2010 Mike Frysinger <vapier@gentoo.org> Blackfin: add support for dynamic ftrace

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
7136d9c5e874813ccbd1d438924c413b7305944c 26-Jan-2010 Yi Li <yi.li@analog.com> Blackfin: add CALLER_ADDR ftrace macros

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 <yi.li@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
5bf9cbef9972f851172391a37261b12bba63f733 15-Sep-2009 Yi Li <yi.li@analog.com> Blackfin: update ftrace for latest toolchain

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 <yi.li@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
1c873be744410e26fb91ee9228c90adff6eabe15 09-Jun-2009 Mike Frysinger <vapier@gentoo.org> Blackfin: initial support for ftrace

Just the basic ftrace support here -- mcount and the ftrace stub.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
c79a61f55773d2519fd0525bf58385f7d20752d3 27-Feb-2009 Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> tracing: make CALLER_ADDRx overwriteable

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 > 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 <asm/ftrace.h> and let these take precedence.

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

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