Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759325AbYAJOqP (ORCPT ); Thu, 10 Jan 2008 09:46:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755458AbYAJOqA (ORCPT ); Thu, 10 Jan 2008 09:46:00 -0500 Received: from ms-smtp-02.nyroc.rr.com ([24.24.2.56]:58686 "EHLO ms-smtp-02.nyroc.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754118AbYAJOp7 (ORCPT ); Thu, 10 Jan 2008 09:45:59 -0500 Date: Thu, 10 Jan 2008 09:45:52 -0500 (EST) From: Steven Rostedt X-X-Sender: rostedt@gandalf.stny.rr.com To: Daniel Walker cc: LKML , Ingo Molnar , Linus Torvalds , Andrew Morton , Peter Zijlstra , Christoph Hellwig , Mathieu Desnoyers , Gregory Haskins , Arnaldo Carvalho de Melo , Thomas Gleixner , Tim Bird , Sam Ravnborg , "Frank Ch. Eigler" , Steven Rostedt Subject: Re: [RFC PATCH 22/22 -v2] Trace irq disabled critical timings In-Reply-To: <1199937502.18203.22.camel@imap.mvista.com> Message-ID: References: <20080109232914.676624725@goodmis.org> <20080109233045.768464295@goodmis.org> <1199937502.18203.22.camel@imap.mvista.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 811 Lines: 22 On Wed, 9 Jan 2008, Daniel Walker wrote: > > On Wed, 2008-01-09 at 18:29 -0500, Steven Rostedt wrote: > > + /* Don't trace irqs off for idle */ > > + stop_critical_timings(); > > idle(); > > + start_critical_timings(); > > > Is there another way to hook into the idle routine? Right above these > lines there is a call to "enter_idle()" which I'm wondering about .. > Would be nice to have some sort of generic hook or method for this .. enter_idle isn't generic. -- Steve -- 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/