diff options
author | 2010-05-14 19:08:32 +0800 | |
---|---|---|
committer | 2010-07-05 17:17:29 +0100 | |
commit | e424054000878d7eb11e44289242886d6e219d22 (patch) | |
tree | fdae97a03c8e8b3c4ff232e627e20da88d0477c2 /kernel/sched_debug.c | |
parent | MIPS: Tracing: Cleanup of instructions used (diff) | |
download | linux-rng-e424054000878d7eb11e44289242886d6e219d22.tar.xz linux-rng-e424054000878d7eb11e44289242886d6e219d22.zip |
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>
Diffstat (limited to 'kernel/sched_debug.c')
0 files changed, 0 insertions, 0 deletions