Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755454AbYJQAwb (ORCPT ); Thu, 16 Oct 2008 20:52:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752197AbYJQAwW (ORCPT ); Thu, 16 Oct 2008 20:52:22 -0400 Received: from gate.crashing.org ([63.228.1.57]:39351 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752019AbYJQAwW (ORCPT ); Thu, 16 Oct 2008 20:52:22 -0400 Subject: Re: [PATCH] ftrace: powerpc: remove startup functions from tracing From: Benjamin Herrenschmidt Reply-To: benh@kernel.crashing.org To: Steven Rostedt Cc: Josh Boyer , Andrew Morton , Peter Zijlstra , linux-kernel@vger.kernel.org, David Miller , linuxppc-dev@ozlabs.org, Ingo Molnar , Thomas Gleixner In-Reply-To: References: <20080906050602.409299112@goodmis.org> <20080906120346.GA30964@elte.hu> <20081016181452.GA29739@yoda.jdub.homelinux.org> Content-Type: text/plain Date: Fri, 17 Oct 2008 11:50:46 +1100 Message-Id: <1224204646.7654.52.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 822 Lines: 23 On Thu, 2008-10-16 at 20:48 -0400, Steven Rostedt wrote: > > The early init code in PowerPC is not mapped to their final locations > and all jumps and memory references must be done with relative jumps > and accesses. > > The lib files in the powerpc directory are called in early boot, and > since mcount will perform direct access to memory, the lib files need > not be traced. This is annoying though, because that means things like memcpy, copy_to_from_user etc... can't be traced. On the other hand a lot of that is asm and already doesn't call mcount. Cheers, Ben. -- 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/