lkml.org 
[lkml]   [2013]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] sched: add trace event for per-entity tracking
Date
Thanks for the per-entity tracking feature, we could know the details of
each task by its help.
This patch add its trace support, so that we could quickly know the system
status in a large time scale, like now we may get each runqueue's usage ratio by:

cfs_rq's usage ratio = cfs_rq->runnable_load_avg/cfs_rq->load.weight

Lei Wen (2):
sched: add trace events for task and rq usage tracking
sched: update cfs_rq weight earlier in enqueue_entity

include/trace/events/sched.h | 73 ++++++++++++++++++++++++++++++++++++++++++
kernel/sched/fair.c | 31 ++++++++++++++++--
2 files changed, 101 insertions(+), 3 deletions(-)

--
1.7.10.4



\
 
 \ /
  Last update: 2013-07-01 09:41    [W:0.175 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site