summaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorPatrick Bellasi <patrick.bellasi@arm.com>2015-06-22 13:49:07 +0100
committerAmit Pundir <amit.pundir@linaro.org>2016-09-14 14:59:32 +0530
commit9b8dc08c8883d423a97a591cee139937b6f5b050 (patch)
tree0adf21e456f2ef615228aec9706d54ae86f43312 /include/trace
parent8321f3874e0fea10cc8dd9ed46b05d9f00eee3a6 (diff)
DEBUG: schedtune: add tracepoint for SchedTune configuration update
Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
Diffstat (limited to 'include/trace')
-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 5a8951cb4a10..f4ce46f0a4c4 100644
--- a/include/trace/events/sched.h
+++ b/include/trace/events/sched.h
@@ -703,6 +703,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 */