AKASHI Takahiro
eed542d696
ftrace: Make CALLER_ADDRx macros more generic
...
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 <takahiro.akashi@linaro.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2014-05-21 03:10:32 -04:00
..
2010-11-04 12:32:24 +09:00
2010-01-12 16:12:25 +09:00
2009-12-12 13:08:14 +01:00
2010-01-08 17:02:17 +09:00
2012-03-28 18:30:03 +01:00
2010-01-08 17:02:17 +09:00
2012-04-27 11:12:38 +09:30
2014-01-12 10:37:15 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-10-02 18:01:25 +01:00
2012-06-14 14:18:51 +09:00
2009-10-16 17:20:58 +09:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-10-02 18:01:25 +01:00
2010-06-01 08:55:52 -07:00
2010-12-01 15:39:51 +09:00
2012-10-02 18:01:25 +01:00
2013-12-04 17:19:44 +01:00
2012-03-12 22:19:10 +01:00
2011-06-08 15:22:39 +09:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-01-13 16:27:38 +09:00
2012-11-28 15:29:00 +01:00
2010-03-02 11:09:04 +09:00
2012-05-19 18:50:09 +09:00
2010-02-08 11:29:15 +09:00
2013-01-11 21:02:57 +09:00
2009-08-24 17:09:53 +09:00
2014-01-23 16:36:54 -08:00
2013-11-13 12:09:13 +09:00
2014-05-21 03:10:32 -04:00
2012-03-28 18:30:03 +01:00
2011-03-11 12:23:31 +01:00
2013-01-25 09:24:30 +09:00
2009-10-14 16:42:28 +09:00
2009-08-18 21:16:29 +09:00
2013-04-29 15:54:33 -07:00
2012-10-09 09:47:37 +01:00
2011-07-26 16:49:47 -07:00
2012-05-18 14:52:31 +09:00
2010-11-01 09:49:04 -04:00
2012-07-12 13:12:13 +09:00
2014-04-07 16:36:11 -07:00
2014-04-07 16:36:11 -07:00
2012-05-21 17:54:01 +09:00
2010-10-07 14:08:55 +01:00
2014-02-09 21:18:52 +01:00
2012-05-24 15:03:46 +09:00
2010-05-07 14:54:55 +09:00
2012-04-11 10:48:24 +09:00
2010-06-14 15:16:53 +09:00
2014-04-07 16:36:11 -07:00
2010-01-26 12:58:40 +09:00
2013-10-14 15:38:33 +02:00
2010-03-10 16:29:48 +09:00
2011-06-27 14:13:09 -07:00
2012-09-28 14:31:03 +09:30
2013-06-26 12:10:55 +02:00
2011-11-04 22:13:50 +09:00
2012-02-23 20:19:04 -07:00
2010-10-18 19:58:50 +02:00
2013-11-15 09:32:18 +09:00
2011-03-31 11:26:23 -03:00
2012-05-14 15:16:11 +09:00
2010-01-13 19:18:39 +09:00
2010-01-13 19:18:39 +09:00
2013-06-29 12:46:35 +04:00
2012-10-09 09:47:37 +01:00
2013-11-13 12:09:13 +09:00
2013-11-13 12:09:13 +09:00
2012-10-02 18:01:25 +01:00
2012-10-09 09:47:37 +01:00
2012-10-09 09:47:37 +01:00
2012-10-09 09:47:37 +01:00
2010-01-20 16:42:52 +09:00
2009-09-11 13:19:16 +09:00
2011-01-27 12:30:39 +01:00
2012-06-27 09:59:43 +02:00
2012-10-09 09:47:37 +01:00
2010-01-12 15:26:11 +09:00
2012-07-20 11:23:44 +05:30
2010-04-26 19:08:55 +09:00
2011-07-26 16:49:47 -07:00
2009-12-14 23:55:32 +01:00
2009-12-14 23:55:32 +01:00
2010-10-15 02:09:00 +09:00
2012-04-19 15:45:57 +09:00
2011-05-23 14:42:15 +09:00
2012-10-02 18:01:25 +01:00
2013-04-22 00:35:53 +02:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-10-02 18:01:25 +01:00
2009-07-06 20:16:33 +09:00
2012-10-02 18:01:25 +01:00
2014-04-03 16:20:52 -07:00
2012-11-28 22:36:47 -05:00
2012-10-02 18:01:25 +01:00
2013-11-13 20:21:47 +01:00
2009-12-29 11:09:30 +09:00
2014-04-25 16:05:40 -07:00
2010-07-02 15:44:09 +09:00
2012-05-09 15:00:55 +02:00
2014-04-03 16:20:52 -07:00
2012-05-14 13:04:08 +09:00
2012-10-02 18:01:25 +01:00
2012-10-09 09:47:37 +01:00
2012-06-13 10:28:37 +09:00
2012-06-13 10:28:37 +09:00
2012-10-02 18:01:25 +01:00
2011-03-31 11:26:23 -03:00
2010-11-04 12:46:19 +09:00
2013-03-03 22:55:19 -05:00
2009-08-21 13:02:44 +01:00
2010-02-12 15:41:45 +09:00
2010-01-26 12:58:40 +09:00
2012-06-13 10:28:37 +09:00