Files
android_kernel_xiaomi_sm8450/arch/mips/kernel
Wu Zhangjin e424054000 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 <wuzhangjin@gmail.com>
Cc: linux-mips <linux-mips@linux-mips.org>
Cc: David Daney <david.s.daney@gmail.com>
Patchwork: http://patchwork.linux-mips.org/patch/1230/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2010-07-05 17:17:29 +01:00
..
2010-05-21 21:31:14 +01:00
2008-05-01 08:03:58 -07:00
2009-12-10 15:02:50 +01:00
2010-04-12 17:26:14 +01:00
2010-05-21 21:31:14 +01:00
2009-08-03 17:52:40 +01:00
2009-07-12 12:22:34 -07:00
2010-03-12 15:52:39 -08:00
2006-12-10 21:52:11 +00:00
2010-05-21 21:31:17 +01:00
2010-04-12 17:26:14 +01:00
2009-06-24 18:34:40 +01:00
2009-12-17 01:57:30 +00:00
2010-04-12 17:26:14 +01:00