[Top] [All Lists]

Re: [PATCH v2 2/6] mips dynamic function tracer support

To: wu zhangjin <>
Subject: Re: [PATCH v2 2/6] mips dynamic function tracer support
From: Wang Liming <>
Date: Wed, 03 Jun 2009 14:05:18 +0800
Cc:,, Wu Zhangjin <>, Steven Rostedt <>, Ralf Baechle <>, Ingo Molnar <>, Andrew Morton <>, Frederic Weisbecker <>, Thomas Gleixner <>, Nicholas Mc Guire <>
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <>
User-agent: Thunderbird (Windows/20090302)
wu zhangjin wrote:

sorry, I'm so late to reply your E-mail, a little busy these days.


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.

Liming Wang

best wishes,
Wu Zhangjin

<Prev in Thread] Current Thread [Next in Thread>