From: "Leonidas ." <leonidas137@gmail.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Notification when a task is created/exits
Date: Tue, 16 Feb 2010 11:18:25 +0530 [thread overview]
Message-ID: <f22d86811002152148t4f307184kb71757f4621f82db@mail.gmail.com> (raw)
Hi folks,
Is it possible to register a set of callbacks from my module so that
these call backs get called
whenever a certain task is created or exits. Basically, I want to keep
track of all the threads
which are created and are exiting, my module should get notified of
these events somehow.
One way is to call my functions directly from the task creation and
exit functions, but I personally
do not like this approach since I dont want to mess with this core kernel code.
-Leo.
next reply other threads:[~2010-02-16 5:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-16 5:48 Leonidas . [this message]
2010-02-17 2:53 ` Notification when a task is created/exits KAMEZAWA Hiroyuki
2010-02-17 3:16 ` Leonidas .
2010-02-17 3:43 ` KAMEZAWA Hiroyuki
2010-02-17 5:43 ` Leonidas .
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=f22d86811002152148t4f307184kb71757f4621f82db@mail.gmail.com \
--to=leonidas137@gmail.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).