diff options
author | Vincent Donnefort <vincent.donnefort@arm.com> | 2020-08-28 12:00:49 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-10-03 17:30:52 +0300 |
commit | 51cf18c90ca1b51d1cb4af3064e85fcf8610b5d2 (patch) | |
tree | d4643e04ec0b9b448a7525a70bb247f033ae825e /include/trace | |
parent | 9abb897345ce1d41257567f571a78137c961c405 (diff) | |
download | linux-51cf18c90ca1b51d1cb4af3064e85fcf8610b5d2.tar.xz |
sched/debug: Add new tracepoint to track cpu_capacity
rq->cpu_capacity is a key element in several scheduler parts, such as EAS
task placement and load balancing. Tracking this value enables 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>
Link: https://lkml.kernel.org/r/1598605249-72651-1-git-send-email-vincent.donnefort@arm.com
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/sched.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/trace/events/sched.h b/include/trace/events/sched.h index fec25b9cfbaf..c96a4337afe6 100644 --- a/include/trace/events/sched.h +++ b/include/trace/events/sched.h @@ -630,6 +630,10 @@ DECLARE_TRACE(pelt_se_tp, TP_PROTO(struct sched_entity *se), TP_ARGS(se)); +DECLARE_TRACE(sched_cpu_capacity_tp, + TP_PROTO(struct rq *rq), + TP_ARGS(rq)); + DECLARE_TRACE(sched_overutilized_tp, TP_PROTO(struct root_domain *rd, bool overutilized), TP_ARGS(rd, overutilized)); |