aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYordan Karadzhov <ykaradzhov@vmware.com>2019-03-07 17:43:15 +0200
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-03-13 09:52:39 -0400
commit93d072421d999b632f51ff625cd52f97b5d13a1b (patch)
treee32254558fccb8b2d8f742ef78a7f757f8e20392
parentbedcff11657d832175c4fc27efc9fff525f96c14 (diff)
downloadtrace-cmd-93d072421d999b632f51ff625cd52f97b5d13a1b.tar.gz
kernel-shark: Fix Doxygen warning from sched_events
There is no reason for find_wakeup_pid being non-static. In the same time, because it is non-static, Doxygen complains about missing documentation for this function. Link: http://lore.kernel.org/linux-trace-devel/20190307154316.19194-4-ykaradzhov@vmware.com Signed-off-by: Yordan Karadzhov <ykaradzhov@vmware.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
-rw-r--r--kernel-shark/src/plugins/sched_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel-shark/src/plugins/sched_events.c b/kernel-shark/src/plugins/sched_events.c
index c52fb292..724aa196 100644
--- a/kernel-shark/src/plugins/sched_events.c
+++ b/kernel-shark/src/plugins/sched_events.c
@@ -148,7 +148,7 @@ static void plugin_register_command(struct kshark_context *kshark_ctx,
tep_register_comm(kshark_ctx->pevent, comm, pid);
}
-int find_wakeup_pid(struct kshark_context *kshark_ctx, struct kshark_entry *e,
+static int find_wakeup_pid(struct kshark_context *kshark_ctx, struct kshark_entry *e,
struct tep_event *wakeup_event, struct tep_format_field *pid_field)
{
struct tep_record *record;