Steven Rostedt
2d773aa481
powerpc/ftrace: Do not trace restore_interrupts()
...
As I was adding code that affects all archs, I started testing function
tracer against PPC64 and found that it currently locks up with 3.4
kernel. I figured it was due to tracing a function that shouldn't be, so
I went through the following process to bisect to find the culprit:
cat /debug/tracing/available_filter_functions > t
num=`wc -l t`
sed -ne "1,${num}p" t > t1
let num=num+1
sed -ne "${num},$p" t > t2
cat t1 > /debug/tracing/set_ftrace_filter
echo function /debug/tracing/current_tracer
<failed? bisect t1, if not bisect t2>
It finally came down to this function: restore_interrupts()
I'm not sure why this locks up the system. It just seems to prevent
scheduling from occurring. Interrupts seem to still work, as I can ping
the box. But all user processes freeze.
When restore_interrupts() is not traced, function tracing works fine.
Cc: stable@kernel.org
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-06-29 14:35:36 +10:00
..
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00
2012-05-24 16:17:30 -07:00
2011-10-31 19:30:44 -04:00
2011-12-21 14:29:42 -08:00
2011-10-31 19:30:44 -04:00
2011-02-07 12:57:11 +11:00
2011-11-25 14:11:28 +11:00
2012-04-08 12:54:33 +03:00
2011-07-12 13:16:58 +03:00
2011-07-12 13:16:58 +03:00
2012-03-28 18:30:02 +01:00
2011-12-20 10:20:19 -05:00
2012-03-28 18:30:02 +01:00
2012-03-09 13:25:06 +11:00
2012-03-28 16:36:33 +02:00
2012-03-28 16:36:33 +02:00
2012-03-28 16:36:33 +02:00
2012-04-10 17:21:35 +10:00
2012-06-29 14:35:35 +10:00
2012-03-09 13:25:06 +11:00
2012-05-24 16:17:30 -07:00
2012-04-02 14:00:03 +10:00
2011-10-31 19:30:41 -04:00
2011-05-26 13:38:57 +10:00
2012-03-09 10:55:08 +11:00
2012-03-09 10:55:08 +11:00
2012-03-09 10:55:08 +11:00
2012-05-24 16:17:30 -07:00
2012-03-09 13:25:06 +11:00
2012-04-08 12:51:19 +03:00
2012-05-24 16:17:30 -07:00
2011-10-31 19:30:44 -04:00
2012-04-04 17:13:43 -07:00
2012-03-09 13:25:06 +11:00
2011-10-11 23:23:24 -05:00
2012-03-16 09:28:17 +11:00
2012-04-08 14:01:20 +03:00
2012-05-08 12:35:07 +02:00
2011-10-31 19:30:37 -04:00
2011-10-31 19:30:44 -04:00
2011-11-28 21:13:18 +02:00
2012-02-23 10:50:01 +11:00
2012-06-29 14:35:36 +10:00
2012-03-21 11:16:11 +11:00
2011-11-16 14:25:19 +11:00
2012-04-02 14:00:03 +10:00
2012-03-28 18:30:02 +01:00
2012-03-05 14:52:34 +02:00
2012-03-05 14:52:34 +02:00
2011-03-31 11:26:23 -03:00
2012-01-25 13:33:22 +11:00
2012-03-28 18:30:02 +01:00
2012-01-12 20:13:03 -08:00
2012-01-12 20:13:03 -08:00
2012-04-30 10:45:26 +10:00
2012-05-05 13:00:25 +02:00
2012-05-03 08:40:23 -04:00
2011-06-29 17:48:20 +10:00
2012-03-09 10:54:59 +11:00
2012-06-08 19:59:08 +10:00
2011-07-24 22:06:04 +09:30
2011-10-31 19:30:44 -04:00
2011-03-04 18:19:04 +11:00
2012-03-09 11:39:29 +11:00
2012-04-30 15:37:16 +10:00
2012-03-20 10:41:44 -07:00
2012-03-20 10:41:44 -07:00
2011-11-25 14:53:15 +11:00
2012-03-20 10:41:51 -07:00
2012-03-23 14:02:12 -07:00
2012-02-29 17:15:08 -05:00
2012-05-27 21:00:07 -07:00
2011-03-31 11:26:23 -03:00
2012-05-23 10:59:07 -07:00
2011-09-20 16:09:48 +10:00
2012-06-29 14:35:36 +10:00
2011-10-31 19:30:44 -04:00
2012-03-28 18:30:02 +01:00
2012-04-30 15:37:28 +10:00
2012-05-23 09:02:42 -07:00
2011-12-20 10:21:08 -05:00
2011-11-25 14:11:29 +11:00
2012-03-23 14:02:12 -07:00
2011-06-29 15:30:43 +10:00
2012-03-28 15:58:21 -07:00
2011-11-25 14:11:29 +11:00
2012-04-19 14:55:43 -05:00
2012-03-28 15:58:21 -07:00
2012-03-28 18:30:02 +01:00
2012-06-01 12:58:51 -04:00
2012-06-01 12:58:51 -04:00
2012-06-01 12:58:52 -04:00
2012-06-01 12:58:51 -04:00
2011-07-26 16:49:47 -07:00
2012-04-26 12:06:10 +02:00
2012-03-28 18:30:02 +01:00
2011-10-31 19:30:44 -04:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2012-06-08 14:07:35 +10:00
2012-05-09 09:42:33 +10:00
2011-05-06 13:32:41 +10:00
2012-03-28 11:33:23 +11:00
2012-03-28 15:58:21 -07:00
2012-04-30 15:37:17 +10:00
2012-05-14 10:49:09 +10:00
2012-03-09 10:54:59 +11:00