diff options
author | Wu Zhangjin <wuzhangjin@gmail.com> | 2010-05-14 19:08:32 +0800 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-07-05 17:17:29 +0100 |
commit | e424054000878d7eb11e44289242886d6e219d22 (patch) | |
tree | fdae97a03c8e8b3c4ff232e627e20da88d0477c2 /init | |
parent | 4d6829f92a02d96e1bec2ffe6ee674ef3b49722b (diff) | |
download | linux-e424054000878d7eb11e44289242886d6e219d22.tar.bz2 |
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 'init')
0 files changed, 0 insertions, 0 deletions