Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757865AbYAJEAN (ORCPT ); Wed, 9 Jan 2008 23:00:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754691AbYAJEAA (ORCPT ); Wed, 9 Jan 2008 23:00:00 -0500 Received: from gateway-1237.mvista.com ([63.81.120.158]:29000 "EHLO gateway-1237.mvista.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754244AbYAJD77 (ORCPT ); Wed, 9 Jan 2008 22:59:59 -0500 Subject: Re: [RFC PATCH 22/22 -v2] Trace irq disabled critical timings From: Daniel Walker To: Steven Rostedt 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 In-Reply-To: <20080109233045.768464295@goodmis.org> References: <20080109232914.676624725@goodmis.org> <20080109233045.768464295@goodmis.org> Content-Type: text/plain Date: Wed, 09 Jan 2008 19:58:22 -0800 Message-Id: <1199937502.18203.22.camel@imap.mvista.com> Mime-Version: 1.0 X-Mailer: Evolution 2.12.2 (2.12.2-2.fc8) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 722 Lines: 19 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 .. Daniel -- 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/