]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Remove leftover FTRACE_ENABLE/DISABLE_MCOUNT enums
authorSteven Rostedt <srostedt@redhat.com>
Wed, 15 Sep 2010 02:19:46 +0000 (22:19 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 15 Sep 2010 02:19:46 +0000 (22:19 -0400)
commitb4ab7f0d003b91c592d14a063cc018cc8f0bffd7
treee1f635e807691cb634fd63478861938592f226fa
parentc384531621dba4d5089454baf06f5ea7d6ef96bb
tracing: Remove leftover FTRACE_ENABLE/DISABLE_MCOUNT enums

The enums for FTRACE_ENABLE_MCOUNT and FTRACE_DISABLE_MCOUNT were
used as commands to ftrace_run_update_code(). But these commands
were used by the old nasty ftrace daemon that has long been slain.

This is a clean up patch to remove the references to these enums
and simplify the code a little.

Reported-by: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c