summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorPatrick Bellasi <patrick.bellasi@arm.com>2015-06-22 13:49:07 +0100
committerLeo Yan <leo.yan@linaro.org>2016-05-10 16:54:42 +0800
commitc8a65d2e9a3a6ba9d4d7b1634701dd34017f4107 (patch)
treeb4ee4f592e5b4367cb29015cd082c33e8bb8a731 /kernel
parent0a0f4aa12f6ec50e8b5d917b773e29702714acad (diff)
DEBUG: schedtune: add tracepoint for SchedTune configuration update
Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched/tune.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/sched/tune.c b/kernel/sched/tune.c
index 1a8ba5a6d99b..f5f4c57efb9e 100644
--- a/kernel/sched/tune.c
+++ b/kernel/sched/tune.c
@@ -7,6 +7,8 @@
#include <linux/rcupdate.h>
#include <linux/slab.h>
+#include <trace/events/sched.h>
+
#include "sched.h"
unsigned int sysctl_sched_cfs_boost __read_mostly;
@@ -392,6 +394,8 @@ boost_write(struct cgroup_subsys_state *css, struct cftype *cft,
/* Update CPU boost */
schedtune_boostgroup_update(st->idx, st->boost);
+ trace_sched_tune_config(st->boost);
+
return 0;
}