Files
kernel_amazon_mt8127-common/include/linux
Steven Rostedt 14a866c567 ftrace: add ftrace_graph_stop()
Impact: new ftrace_graph_stop function

While developing more features of function graph, I hit a bug that
caused the WARN_ON to trigger in the prepare_ftrace_return function.
Well, it was hard for me to find out that was happening because the
bug would not print, it would just cause a hard lockup or reboot.
The reason is that it is not safe to call printk from this function.

Looking further, I also found that it calls unregister_ftrace_graph,
which grabs a mutex and calls kstop machine. This would definitely
lock the box up if it were to trigger.

This patch adds a fast and safe ftrace_graph_stop() which will
stop the function tracer. Then it is safe to call the WARN ON.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-12-03 08:56:23 +01:00
..
2008-10-22 01:19:37 +02:00
2008-10-30 11:38:47 -07:00
2008-11-11 21:15:50 -05:00
2008-10-20 11:01:52 -07:00
2008-10-20 08:52:42 -07:00
2008-11-06 08:41:55 +01:00
2008-11-26 12:13:34 +01:00
2008-10-20 08:52:32 -07:00
2008-11-12 17:17:18 -08:00
2008-10-30 11:38:45 -07:00
2008-11-30 11:00:15 -08:00
2008-11-23 11:41:01 +01:00
2008-10-30 11:38:45 -07:00
2008-12-03 08:56:23 +01:00
2008-10-22 20:21:33 +02:00
2008-10-29 22:02:09 +01:00
2008-11-03 18:21:45 +01:00
2008-11-23 10:52:45 +01:00
2008-10-28 14:22:15 +02:00
2008-10-20 22:34:12 +01:00
2008-10-20 08:52:31 -07:00
2008-10-20 08:52:30 -07:00
2008-10-22 10:00:23 +11:00
2008-11-06 15:41:21 -08:00
2008-11-19 18:49:57 -08:00
2008-11-30 10:03:35 -08:00
2008-10-20 08:52:32 -07:00
2008-10-22 16:42:43 -07:00
2008-10-23 00:11:07 -04:00
2008-10-23 18:54:05 +04:00
2008-10-20 08:52:39 -07:00
2008-11-12 17:17:17 -08:00
2008-11-16 09:01:25 +01:00
2008-12-03 08:56:21 +01:00
2008-10-20 08:52:40 -07:00
2008-10-30 11:38:47 -07:00
2008-11-13 20:49:02 +02:00
2008-11-02 10:15:07 -08:00
2008-10-20 08:52:31 -07:00
2008-11-19 18:49:57 -08:00
2008-11-07 16:09:23 +01:00