Notification when a task is created/exits
From: Leonidas .
Date: Tue Feb 16 2010 - 00:48:33 EST
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/