Re: ftraced and suspend to ram

From: Pavel Machek
Date: Fri Aug 22 2008 - 03:23:56 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.

Patch looks okay to me, but I'm not sure if another issue is not
hiding under it. Did anyone actually test ftrace + suspend after
applying this?
Pavel


--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/