Skip to content

Commit

Permalink
Merge pull request #982 from qais-yousef/tracepoints-module-fix
Browse files Browse the repository at this point in the history
sched_tp: make sched_tp_finish() static
  • Loading branch information
derkling committed Jul 18, 2019
2 parents a441588 + 68447a4 commit 744d43f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -295,7 +295,7 @@ index 000000000000..290fd149b885
+ return 0;
+}
+
+void sched_tp_finish(void)
+static void sched_tp_finish(void)
+{
+ unregister_trace_pelt_cfs_tp(sched_pelt_cfs, NULL);
+ unregister_trace_pelt_rt_tp(sched_pelt_rt, NULL);
Expand Down
2 changes: 1 addition & 1 deletion tools/kmodules/sched_tp/sched_tp.c
Expand Up @@ -115,7 +115,7 @@ static int sched_tp_init(void)
return 0;
}

void sched_tp_finish(void)
static void sched_tp_finish(void)
{
unregister_trace_pelt_cfs_tp(sched_pelt_cfs, NULL);
unregister_trace_pelt_rt_tp(sched_pelt_rt, NULL);
Expand Down

0 comments on commit 744d43f

Please sign in to comment.