summaryrefslogtreecommitdiff
path: root/include
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 /include
parent0a0f4aa12f6ec50e8b5d917b773e29702714acad (diff)
DEBUG: schedtune: add tracepoint for SchedTune configuration update
Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
Diffstat (limited to 'include')
-rw-r--r--include/trace/events/sched.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/trace/events/sched.h b/include/trace/events/sched.h
index f58760c2f712..8ae43a2ebfda 100644
--- a/include/trace/events/sched.h
+++ b/include/trace/events/sched.h
@@ -654,6 +654,27 @@ TRACE_EVENT(sched_load_avg_cpu,
TP_printk("cpu=%d load_avg=%lu util_avg=%lu",
__entry->cpu, __entry->load_avg, __entry->util_avg)
);
+
+/*
+ * Tracepoint for sched_tune_config settings
+ */
+TRACE_EVENT(sched_tune_config,
+
+ TP_PROTO(int boost),
+
+ TP_ARGS(boost),
+
+ TP_STRUCT__entry(
+ __field( int, boost )
+ ),
+
+ TP_fast_assign(
+ __entry->boost = boost;
+ ),
+
+ TP_printk("boost=%d ", __entry->boost)
+);
+
#endif /* _TRACE_SCHED_H */
/* This part must be outside protection */