diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2014-06-24 23:38:08 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-07-17 09:45:06 -0400 |
commit | 2b014666a1b93ad21c5667a4643da67bd49a5562 (patch) | |
tree | 0c5d37fa1f1ecd281d14b4fd3ed1e04d20f88ba7 /kernel/signal.c | |
parent | b8f99b3e0e066e7b2f3dbc348fe33d8277950727 (diff) | |
download | linux-2b014666a1b93ad21c5667a4643da67bd49a5562.tar.gz linux-2b014666a1b93ad21c5667a4643da67bd49a5562.tar.bz2 linux-2b014666a1b93ad21c5667a4643da67bd49a5562.zip |
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>
Diffstat (limited to 'kernel/signal.c')
0 files changed, 0 insertions, 0 deletions