]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - kernel/trace/ftrace.c
ftrace: Decrement count for dyn_ftrace_total_info for init functions
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 28 Jun 2017 15:57:03 +0000 (11:57 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 28 Jun 2017 15:57:03 +0000 (11:57 -0400)
commit4ec78467858739c0119569c0610676aa50dfa8fb
tree20a876bb0d3a92bfc2015722cb68fbcd71c88c94
parent3b58a3c72f484393c65995a551902945f5a18c70
ftrace: Decrement count for dyn_ftrace_total_info for init functions

Init boot up functions may be traced, but they are also freed when the
kernel finishes booting. These are removed from the ftrace tables, and the
debug variable for dyn_ftrace_total_info needs to reflect that as well.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ftrace.c