summaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorVincent Donnefort <vincent.donnefort@arm.com>2020-05-27 18:39:14 +0200
committerPeter Zijlstra <peterz@infradead.org>2020-06-15 14:10:02 +0200
commit4581bea8b4ec4de353369775dfef921191e393b3 (patch)
treeab0e45a3b8cb07f6d3a13a6e460ec34b9c006624 /include/trace
parentsched/fair: Remove unused 'sd' parameter from scale_rt_capacity() (diff)
downloadlinux-4581bea8b4ec4de353369775dfef921191e393b3.tar.xz
linux-4581bea8b4ec4de353369775dfef921191e393b3.zip
sched/debug: Add new tracepoints to track util_est
The util_est signals are key elements for EAS task placement and frequency selection. Having tracepoints to track these signals enables load-tracking and schedutil testing and/or debugging by a toolkit. Signed-off-by: Vincent Donnefort <vincent.donnefort@arm.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Valentin Schneider <valentin.schneider@arm.com> Link: https://lkml.kernel.org/r/1590597554-370150-1-git-send-email-vincent.donnefort@arm.com
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/sched.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/trace/events/sched.h b/include/trace/events/sched.h
index ed168b0e2c53..04f9a4c7b0d9 100644
--- a/include/trace/events/sched.h
+++ b/include/trace/events/sched.h
@@ -634,6 +634,14 @@ DECLARE_TRACE(sched_overutilized_tp,
TP_PROTO(struct root_domain *rd, bool overutilized),
TP_ARGS(rd, overutilized));
+DECLARE_TRACE(sched_util_est_cfs_tp,
+ TP_PROTO(struct cfs_rq *cfs_rq),
+ TP_ARGS(cfs_rq));
+
+DECLARE_TRACE(sched_util_est_se_tp,
+ TP_PROTO(struct sched_entity *se),
+ TP_ARGS(se));
+
#endif /* _TRACE_SCHED_H */
/* This part must be outside protection */