Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755403AbZFCGRG (ORCPT ); Wed, 3 Jun 2009 02:17:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753271AbZFCGQ4 (ORCPT ); Wed, 3 Jun 2009 02:16:56 -0400 Received: from mail.windriver.com ([147.11.1.11]:43498 "EHLO mail.wrs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752203AbZFCGQ4 (ORCPT ); Wed, 3 Jun 2009 02:16:56 -0400 Message-ID: <4A26129E.1080008@windriver.com> Date: Wed, 03 Jun 2009 14:05:18 +0800 From: Wang Liming User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: wu zhangjin CC: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, Wu Zhangjin , Steven Rostedt , Ralf Baechle , Ingo Molnar , Andrew Morton , Frederic Weisbecker , Thomas Gleixner , Nicholas Mc Guire Subject: Re: [PATCH v2 2/6] mips dynamic function tracer support References: <4A22281B.7020908@windriver.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Jun 2009 06:15:33.0455 (UTC) FILETIME=[B3D75DF0:01C9E412] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1242 Lines: 41 wu zhangjin wrote: > hi, > > sorry, I'm so late to reply your E-mail, a little busy these days. >> >> } >> ----------arch/mips/kernel/module.c:apply_r_mips_26_rel()------------------- >> >> v is kernel _mcount's address, location is the address of the instrution >> that should be relocated; >> >> To resolve this problem, we may need to do more work, either on gcc or on >> the kernel. So I want to hear your test result and if you have solution, >> please let me know. >> > > yes, current version of mips-specific dynamic ftrace not support modules yet. > > there is similar solution implemented in PowerPC(something named trampoline), > although I did not look into it, but I'm sure we can implement the > mips-specific one > via imitating it. Good hit. I may have a look on Powerpc implementation. > > and currently, I'm planning to fix it in the -v3 of mips-specific > ftrace support. OK. I'm looking forward to your -v3 patches. Thanks. Liming Wang > > best wishes, > Wu Zhangjin > -- 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/