From: "Leonidas ." <leonidas137@gmail.com>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Notification when a task is created/exits
Date: Wed, 17 Feb 2010 11:13:35 +0530 [thread overview]
Message-ID: <f22d86811002162143p2296d67arebe0e62e2b4ac90f@mail.gmail.com> (raw)
In-Reply-To: <20100217124312.e6d47c21.kamezawa.hiroyu@jp.fujitsu.com>
>> This sounds close to what I have in mind, but unfortunately I dont
>> have any idea what is cgroup
>> subsystem. How to implement cgroup subsystem? Can you give pointers to
>> some existing code
>> or document?
> Documentation/cgroup/*.txt
> Maybe cpuacct cgroup in kernel/sche.c or device cgroup in security/device_cgroup.c
> is portable size, but they are not module.
> block/blk-cgroup is module and maybe in readable size.
Will go through it.
>
>> Also, using this mechanism can we monitor each thread created in
>> user space? I.e. it is only a fork handler or even a
>> pthread_create/clone can be tracked this way.
>>
> please read documents. I think you can.
>
Okay, if it can then this is what I have been looking for...Thanks for
the pointers.
> Thanks,
> -Kame
>
>
--
-Leo.
prev parent reply other threads:[~2010-02-17 5:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-16 5:48 Notification when a task is created/exits Leonidas .
2010-02-17 2:53 ` KAMEZAWA Hiroyuki
2010-02-17 3:16 ` Leonidas .
2010-02-17 3:43 ` KAMEZAWA Hiroyuki
2010-02-17 5:43 ` Leonidas . [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f22d86811002162143p2296d67arebe0e62e2b4ac90f@mail.gmail.com \
--to=leonidas137@gmail.com \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).