[PATCH] tracing: allow tracing of suspend/resume & hibernationcode again

From: Ingo Molnar
Date: Sun Nov 23 2008 - 04:41:59 EST



* Rafael J. Wysocki <rjw@xxxxxxx> wrote:

> > Q2: how to ftrace s2ram and resume? I attempted to do it, but the
> > trace output is always filled with "resume" related functions when
> > it started up, which is only logical.
>
> The tracing is disabled during suspend/resume, so you can't.

i think we could lift this restriction now that dftrace is gone for
good - which was causing most of the trouble.

41108eb10142e0552f2de1e4c0675b108c5f018f
f42ac38c59e0a03d6da0c24a63fb211393f484b0

Completely untested patch below. Peter, does it work for you?

Ingo

------------------->