Uwe Kleine-Koenig c79a61f557 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>
2009-03-02 16:49:37 -05:00
..
2009-01-06 15:59:10 -08:00
2009-01-03 16:19:03 +10:30
2008-05-01 08:03:58 -07:00
2008-02-13 16:21:18 -08:00
2008-07-24 22:53:30 +02:00
2008-08-20 13:19:51 -07:00
2008-05-28 07:59:06 -07:00
2008-02-13 16:21:18 -08:00
2008-02-23 17:12:13 -08:00
2008-04-28 08:58:23 -07:00
2008-02-23 17:12:13 -08:00
2009-01-06 18:10:29 -08:00
2008-12-10 13:34:33 -08:00
2008-08-01 13:03:48 -07:00