linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Notification when a task is created/exits
@ 2010-02-16  5:48 Leonidas .
  2010-02-17  2:53 ` KAMEZAWA Hiroyuki
  0 siblings, 1 reply; 5+ messages in thread
From: Leonidas . @ 2010-02-16  5:48 UTC (permalink / raw)
  To: linux-kernel

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.

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

end of thread, other threads:[~2010-02-17  5:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).