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
..
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2009-01-06 15:59:10 -08:00
2008-08-05 13:35:07 +02:00
2009-01-01 10:12:16 +10:30
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2009-01-14 19:56:50 -08:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-10-16 15:40:05 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2009-03-02 16:49:37 -05:00
2008-08-05 13:35:07 +02:00
2008-08-05 14:36:57 +02:00
2009-02-12 11:19:05 -05:00
2008-08-05 13:35:07 +02:00
2008-10-08 18:44:57 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 14:36:57 +02:00
2008-08-05 13:35:07 +02:00
2009-01-14 19:56:50 -08:00
2009-01-07 10:40:30 +01:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2009-01-06 18:10:26 -08:00
2009-01-07 11:28:15 +01:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-10-20 08:52:33 -07:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00