]> git.baikalelectronics.ru Git - kernel.git/commit
PM / Sleep: Remove ftrace_stop/start() from suspend and hibernate
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 25 Jun 2014 03:38:08 +0000 (23:38 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 17 Jul 2014 13:45:06 +0000 (09:45 -0400)
commit6b766d5cb06b69eed9cfae0dc6a8a42745de0aca
tree0c5d37fa1f1ecd281d14b4fd3ed1e04d20f88ba7
parentee5eaa6922d1b5af0268a204e6d3c4b43ab31159
PM / Sleep: Remove ftrace_stop/start() from suspend and hibernate

ftrace_stop() and ftrace_start() were added to the suspend and hibernate
process because there was some function within the work flow that caused
the system to reboot if it was traced. This function has recently been
found (restore_processor_state()). Now there's no reason to disable
function tracing while we are going into suspend or hibernate, which means
that being able to trace this will help tremendously in debugging any
issues with suspend or hibernate.

This also means that the ftrace_stop/start() functions can be removed
and simplify the function tracing code a bit.

Link: http://lkml.kernel.org/r/1518201.VD9cU33jRU@vostro.rjw.lan
Acked-by: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/power/hibernate.c
kernel/power/suspend.c