]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ftrace: Calculate the correct dyn_ftrace number to report to the userspace
authorMinfei Huang <mnfhuang@gmail.com>
Wed, 16 Sep 2015 16:19:42 +0000 (00:19 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 22 Oct 2015 19:44:24 +0000 (15:44 -0400)
commit883a1e867e0fe7c2dc2e5844ef692f80177631d5
treeaf404d70021b6563ae8df94726e441e85511298a
parent3061692921f2d701bb09699d16ed780903dd54e2
ftrace: Calculate the correct dyn_ftrace number to report to the userspace

Now, ftrace only calculate the dyn_ftrace number in the adding
breakpoint loop, not in adding update and finish update loop.

Calculate the correct dyn_ftrace, once ftrace reports the failure message
to the userspace.

Link: http://lkml.kernel.org/r/1442420382-13130-1-git-send-email-mnfhuang@gmail.com
Signed-off-by: Minfei Huang <mnfhuang@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
arch/x86/kernel/ftrace.c