tracing: Fix code comments in trace.c
authorChunyu Hu <chuhu@redhat.com>
Thu, 19 Oct 2017 06:32:33 +0000 (14:32 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 4 Dec 2017 11:52:07 +0000 (06:52 -0500)
commit5a93bae2c382c588f437ce0395e8032ae287dc36
treea11c52baded9080549a06b7601bd3193a83d8144
parentae64f9bd1d3621b5e60d7363bc20afb46aede215
tracing: Fix code comments in trace.c

Naming in code comments for tracing_snapshot, tracing_snapshot_alloc
and trace_pid_filter_add_remove_task don't match the real function
names.  And latency_trace has been removed from tracing directory.
Fix them.

Link: http://lkml.kernel.org/r/1508394753-20887-1-git-send-email-chuhu@redhat.com
Fixes: cab5037 ("tracing/ftrace: Enable snapshot function trigger")
Fixes: 886b5b7 ("tracing: remove /debug/tracing/latency_trace")
Signed-off-by: Chunyu Hu <chuhu@redhat.com>
[ Replaced /sys/kernel/debug/tracing with /sys/kerne/tracing ]
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace.c