lkml.org 
[lkml]   [2009]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] tracing/function: simplify for __ftrace_replace_code()
Xiao Guangrong wrote:
> Rewrite the __ftrace_replace_code() function, let it's simple, but
> not change the code's logic.
>
> First, we get the state we want to set, if the record has the same
> state, then do nothing, if not, enable/disable it.
>
> Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>

Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>

> ---
> kernel/trace/ftrace.c | 75 +++++++++++++-----------------------------------
> 1 files changed, 21 insertions(+), 54 deletions(-)


\
 
 \ /
  Last update: 2009-07-16 11:35    [W:0.808 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site