lkml.org 
[lkml]   [2011]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH -tip 0/2] sched: Get group names back in /proc/sched_debug
Hi,

With autogroup patches, the group names got dropped off from
/proc/sched_debug. Without group name info, it is difficult to figure out
which cfs_rq or task belongs to which group in /proc/sched_debug output.

This patchset brings back the group name and also adds autogroup names
to /proc/sched_debug output.

Before this patchset
====================
# grep cfs_rq /proc/sched_debug
cfs_rq[0]:
cfs_rq[0]:
cfs_rq[1]:
cfs_rq[1]:
cfs_rq[2]:
cfs_rq[2]:
cfs_rq[3]:
cfs_rq[3]:
cfs_rq[4]:
cfs_rq[5]:
cfs_rq[6]:
cfs_rq[7]:
cfs_rq[8]:
cfs_rq[9]:
cfs_rq[10]:
cfs_rq[11]:
cfs_rq[12]:
cfs_rq[13]:
cfs_rq[13]:
cfs_rq[14]:
cfs_rq[14]:
cfs_rq[15]:
cfs_rq[15]:
# grep while1 /proc/sched_debug
R while1 2203 48420.920338 5007 120 48420.920338 48951.419166 7.485277
R while1 2226 23823.872648 2865 120 23823.872648 28347.561387 3.988024
R while1 2204 43006.490234 4851 120 43006.490234 48459.814725 0.000000
With this patchset
==================
# grep cfs_rq /proc/sched_debug
cfs_rq[0]:/autogroup-52
cfs_rq[0]:/autogroup-0
cfs_rq[1]:/autogroup-54
cfs_rq[1]:/autogroup-0
cfs_rq[2]:/autogroup-51
cfs_rq[2]:/autogroup-0
cfs_rq[3]:/autogroup-0
cfs_rq[4]:/autogroup-50
cfs_rq[4]:/autogroup-0
cfs_rq[5]:/autogroup-11
cfs_rq[5]:/autogroup-0
cfs_rq[6]:/autogroup-0
cfs_rq[7]:/autogroup-0
cfs_rq[8]:/autogroup-13
cfs_rq[8]:/autogroup-0
cfs_rq[9]:/autogroup-0
cfs_rq[10]:/autogroup-52
cfs_rq[10]:/autogroup-0
cfs_rq[11]:/autogroup-52
cfs_rq[11]:/autogroup-0
cfs_rq[12]:/autogroup-0
cfs_rq[13]:/autogroup-0
cfs_rq[14]:/1
cfs_rq[14]:/autogroup-0
cfs_rq[15]:/autogroup-0
# grep while1 /proc/sched_debug
R while1 2208 38199.296761 3826 120 38199.296761 38200.395907 4.341835 /autogroup-54
R while1 2205 31251.518310 5629 120 31251.518310 54431.493631 6.882145 /autogroup-50
R while1 2206 43920.889967 5402 120 43920.889967 53954.315334 0.000000 /1
Regards,
Bharata.


\
 
 \ /
  Last update: 2011-01-10 06:17    [from the cache]
©2003-2011 Jasper Spaans