Re: ftraced and suspend to ram

From: Ingo Molnar
Date: Fri Aug 22 2008 - 00:47:37 EST



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

> > > The code in question is the ftraced() function in
> > > kernel/trace/ftrace.c
> >
> > Thanks, I'll have a look in a while.
>
> Can you try the appended patch, please?

makes sense - i've applied it to tip/tracing/urgent, see the tidied up
commit below.

It should be no big issue not being able to trace across suspend+resume
- and that restriction will go away with Steve's build-time based mcount
patching mechanism in v2.6.28.

Ingo

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