Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756339AbYKQFHg (ORCPT ); Mon, 17 Nov 2008 00:07:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752502AbYKQFG1 (ORCPT ); Mon, 17 Nov 2008 00:06:27 -0500 Received: from ozlabs.org ([203.10.76.45]:46163 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752081AbYKQFGZ (ORCPT ); Mon, 17 Nov 2008 00:06:25 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18720.59484.266300.486911@drongo.ozlabs.ibm.com> Date: Mon, 17 Nov 2008 14:43:24 +1100 From: Paul Mackerras To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Andrew Morton , Thomas Gleixner , Peter Zijlstra , David Miller , Benjamin Herrenschmidt , Frederic Weisbecker , Pekka Paalanen , linuxppc-dev@ozlabs.org, Rusty Russell , Paul Mundt , Steven Rostedt Subject: Re: [PATCH 1/7] ftrace, PPC: do not latency trace idle In-Reply-To: <20081116212515.093117788@goodmis.org> References: <20081116212428.938752312@goodmis.org> <20081116212515.093117788@goodmis.org> X-Mailer: VM 8.0.11 under Emacs 22.2.1 (powerpc-unknown-linux-gnu) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 610 Lines: 16 Steven Rostedt writes: > When idle is called, interrupts are disabled, but the idle function > will still wake up on an interrupt. The problem is that the interrupt > disabled latency tracer will take this call to idle as a latency. > > This patch disables the latency tracing when going into idle. Patch looks OK, but what is the connection with ftrace? Paul. -- 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/