Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754210AbYHVHX4 (ORCPT ); Fri, 22 Aug 2008 03:23:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751562AbYHVHXp (ORCPT ); Fri, 22 Aug 2008 03:23:45 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:38170 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751174AbYHVHXo (ORCPT ); Fri, 22 Aug 2008 03:23:44 -0400 Date: Fri, 22 Aug 2008 09:23:43 +0200 From: Pavel Machek To: Ingo Molnar Cc: "Rafael J. Wysocki" , Steven Rostedt , Nigel Cunningham , LKML , Andrew Morton , Linus Torvalds Subject: Re: ftraced and suspend to ram Message-ID: <20080822072343.GA24173@atrey.karlin.mff.cuni.cz> References: <200808212037.11775.rjw@sisk.pl> <200808212159.37678.rjw@sisk.pl> <20080822044649.GA356@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080822044649.GA356@elte.hu> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1060 Lines: 31 > > * Rafael J. Wysocki 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/