]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
tracing: Make register/unregister_ftrace_command __init
authorTom Zanussi <tom.zanussi@linux.intel.com>
Thu, 24 Oct 2013 13:34:18 +0000 (08:34 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 5 Nov 2013 22:43:40 +0000 (17:43 -0500)
commit38de93abec8d8acd8d6dbbe9b0d92d6d5cdb3090
tree4b7ea21748121502c7d4d8625512134651d1eb9d
parentf306cc82a93d6b19f01634b80c580b9755c8b7cc
tracing: Make register/unregister_ftrace_command __init

register/unregister_ftrace_command() are only ever called from __init
functions, so can themselves be made __init.

Also make register_snapshot_cmd() __init for the same reason.

Link: http://lkml.kernel.org/r/d4042c8cadb7ae6f843ac9a89a24e1c6a3099727.1382620672.git.tom.zanussi@linux.intel.com
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/ftrace.h
kernel/trace/ftrace.c
kernel/trace/trace.c