]> err.no Git - linux-2.6/commit
ftrace: fix updating of ftrace_update_cnt
authorAbhishek Sagar <sagar.abhishek@gmail.com>
Sat, 24 May 2008 18:40:04 +0000 (00:10 +0530)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 26 May 2008 20:52:10 +0000 (22:52 +0200)
commit492a7ea5bcf263ee02a9eb6a3ab0222a1946fade
tree9905f9249f975751c1b880154753bb4c02d72ed3
parentffdaa3582b6b39d625d585d07e329ffdc925e971
ftrace: fix updating of ftrace_update_cnt

Hi Ingo/Steven,

Ftrace currently maintains an update count which includes false updates,
i.e, updates which failed. If anything, such failures should be tracked
by some separate variable, but this patch provides a minimal fix.

Signed-off-by: Abhishek Sagar <sagar.abhishek@gmail.com>
Cc: rostedt@goodmis.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/trace/ftrace.c