From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Fri, 20 Nov 2009 18:25:31 +0100 (CET) Received: from h5.dl5rb.org.uk ([81.2.74.5]:34024 "EHLO h5.dl5rb.org.uk" rhost-flags-OK-OK-OK-OK) by ftp.linux-mips.org with ESMTP id S1494160AbZKTRZJ (ORCPT ); Fri, 20 Nov 2009 18:25:09 +0100 Received: from h5.dl5rb.org.uk (localhost.localdomain [127.0.0.1]) by h5.dl5rb.org.uk (8.14.3/8.14.3) with ESMTP id nAKHOhcX011084; Fri, 20 Nov 2009 17:24:43 GMT Received: (from ralf@localhost) by h5.dl5rb.org.uk (8.14.3/8.14.3/Submit) id nAKHOcUh011083; Fri, 20 Nov 2009 17:24:38 GMT Date: Fri, 20 Nov 2009 17:24:38 +0000 From: Ralf Baechle To: Wu Zhangjin Cc: rostedt@goodmis.org, Nicholas Mc Guire , zhangfx@lemote.com, Ingo Molnar , Thomas Gleixner , Frederic Weisbecker , linux-kernel@vger.kernel.org, linux-mips@linux-mips.org Subject: Re: [PATCH v9 07/10] tracing: add dynamic function graph tracer for MIPS Message-ID: <20091120172438.GG6869@linux-mips.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 25009 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ralf@linux-mips.org Precedence: bulk X-list: linux-mips On Fri, Nov 20, 2009 at 08:34:35PM +0800, Wu Zhangjin wrote: > From: Wu Zhangjin > > This patch make function graph tracer work with dynamic function tracer. > > To share the source code of dynamic function tracer(MCOUNT_SAVE_REGS), > and avoid restoring the whole saved registers, we need to restore the ra > register from the stack. > > (NOTE: This not work with 32bit! need to ensure why!) > > Signed-off-by: Wu Zhangjin Queued for 2.6.33 but due to patch 3/3 I won't propagate this series immediately to linux-next. Thanks! Ralf