summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_stack.c
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>2009-07-15 12:32:15 +0800
committerFrederic Weisbecker <fweisbec@gmail.com>2009-07-17 00:37:53 -0400
commit64fbcd162819bddaf0d99e78b16371b655aa5dee (patch)
treeabc34dd23386f13675502455d99d868b9b63173e /kernel/trace/trace_stack.c
parentda706d8bc833e7153622435560422e653bdb2e94 (diff)
downloadlinux-64fbcd162819bddaf0d99e78b16371b655aa5dee.tar.gz
linux-64fbcd162819bddaf0d99e78b16371b655aa5dee.tar.bz2
linux-64fbcd162819bddaf0d99e78b16371b655aa5dee.zip
tracing/function: Simplify __ftrace_replace_code()
Rewrite the __ftrace_replace_code() function, simplify it, but don't change the code's logic. First, we get the state we want to set, if the record has the same state, then do nothing, otherwise enable/disable it. Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> Reviewed-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'kernel/trace/trace_stack.c')
0 files changed, 0 insertions, 0 deletions