linux-mips
[Top] [All Lists]

Re: [PATCH 7/9] tracing: MIPS: Reduce the overhead of dynamic Function T

To: Wu Zhangjin <wuzhangjin@gmail.com>
Subject: Re: [PATCH 7/9] tracing: MIPS: Reduce the overhead of dynamic Function Tracer
From: David Daney <david.s.daney@gmail.com>
Date: Fri, 14 May 2010 10:15:16 -0700
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=Dyugft45e4/CbvXthVjyYNB+hjH3zPcDWQ3JG1uTvI0=; b=nQSbykjAEiSnIoLxksZMCbDwWD8Tu+uYBo2i/iECnuzSZYAVshO9Hz+RDJXePMz0nL EnvathN6ESGIiaiE6ulTZla+pIEcTvC5rDxIjmNYLQUFDcz5lpuhB5Jlkvbx46hDfbru ENMWFAqh6GxoNaXFrtxDkp73nv5E2nXvOnf0M=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=JiJP1fuNUiU2BstrI9B7ljniqea2o4z9guVGoIz6gCYv57nYwaxdMqYjoHO184auce IFL1Qiaj22F5sgkfW9KiHq5tL9/kNgdVNq3T9J5HlFAK0Vrdd5lHtW0DvVSt8xbMsg/x 8TmsCGmuCq1nrYVctaagD69w49/H0fWsI23X8=
In-reply-to: <6b4495690164114ff7353c86f6b53b979fca2756.1273834562.git.wuzhangjin@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cover.1273834561.git.wuzhangjin@gmail.com> <6b4495690164114ff7353c86f6b53b979fca2756.1273834562.git.wuzhangjin@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4
On 05/14/2010 04:08 AM, Wu Zhangjin wrote:
From: Wu Zhangjin<wuzhangjin@gmail.com>

With the help of uasm, this patch encodes the instructions of dynamic
Function Tracer in ftrace_dyn_arch_init() when initializing it.

[...]
+#include<asm/uasm.h>


All of uasm is _cpuinit, I haven't checked everything, but are you sure you aren't calling if from non-_cpuinit code?

David Daney

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