From: Wu Zhangjin Date: Fri, 14 May 2010 11:08:32 +0000 (+0800) Subject: MIPS: Tracing: Reduce the overhead of dynamic Function Tracer X-Git-Tag: v2.6.35-rc5~20^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e424054000878d7eb11e44289242886d6e219d22;p=pandora-kernel.git MIPS: Tracing: Reduce the overhead of dynamic Function Tracer With the help of uasm this patch encodes the instructions of the dynamic function tracer in ftrace_dyn_arch_init() when initializing it. As a result we can remove the dynamic encoding of instructions in ftrace_make_nop()/call(), ftrace_enable_ftrace_graph_caller() and remove the macro jump_insn_encode() and at last this reduce the overhead of dynamic Function Tracer. This also is cleaner. Signed-off-by: Wu Zhangjin Cc: linux-mips Cc: David Daney Patchwork: http://patchwork.linux-mips.org/patch/1230/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed