linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -tip 0/2] sched: Get group names back in /proc/sched_debug
@ 2011-01-10  5:14 Bharata B Rao
  2011-01-10  5:15 ` [PATCH -tip 1/2] sched: Reinstate group names " Bharata B Rao
  2011-01-10  5:16 ` [PATCH -tip 2/2] sched: Display autogroup " Bharata B Rao
  0 siblings, 2 replies; 7+ messages in thread
From: Bharata B Rao @ 2011-01-10  5:14 UTC (permalink / raw)
  To: linux-kernel; +Cc: Mike Galbraith, Peter Zijlstra, Ingo Molnar

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-01-11 10:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-10  5:14 [PATCH -tip 0/2] sched: Get group names back in /proc/sched_debug Bharata B Rao
2011-01-10  5:15 ` [PATCH -tip 1/2] sched: Reinstate group names " Bharata B Rao
2011-01-11  1:53   ` Yong Zhang
2011-01-11 10:13     ` Bharata B Rao
2011-01-10  5:16 ` [PATCH -tip 2/2] sched: Display autogroup " Bharata B Rao
2011-01-10  9:38   ` Mike Galbraith
2011-01-10 10:09     ` Bharata B Rao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).