From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: cgroup debug seems dead? Date: Tue, 19 Oct 2010 19:14:34 -0700 Message-ID: <20101019191434.379035c9@nehalam> References: <20101019085139.1ccb22bc@nehalam> <4CBE41AE.2020101@cn.fujitsu.com> <20101019181245.7902113a@nehalam> <20101019183705.04a11816@nehalam> <4CBE492A.3020208@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4CBE492A.3020208-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Li Zefan Cc: Paul Menage , containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: containers.vger.kernel.org On Wed, 20 Oct 2010 09:43:06 +0800 Li Zefan wrote: > Stephen Hemminger wrote: > > On Tue, 19 Oct 2010 18:14:10 -0700 > > Paul Menage wrote: > > > >> On Tue, Oct 19, 2010 at 6:12 PM, Stephen Hemminger > >> wrote: > >>> Where is it stored in an array? > >>> > >>> ~/kernel/linux-2.6$ git grep debug_subsys > >>> kernel/cgroup.c: kfree(cont->subsys[debug_subsys_id]); > >>> kernel/cgroup.c:struct cgroup_subsys debug_subsys = { > >>> kernel/cgroup.c: .subsys_id = debug_subsys_id, > >> It's via the include of cgroup_subsys.h at the start of kernel/cgroup.c > >> > >> Paul > > > > That would work but doesn't because the following is missing > > in cgroup_subsys.h! > > It's there in cgroup_subsys.h (2.6.36-rc8). What kernel are you using? Found it, thanks. Still not sure why the tools were confused.