From: sounak chakraborty <sounakrin@yahoo.co.in>
To: linux-kernel@vger.kernel.org
Subject: function called when a thread gets terminated
Date: Tue, 18 Jan 2005 05:52:38 +0000 (GMT) [thread overview]
Message-ID: <20050118055238.65649.qmail@web53304.mail.yahoo.com> (raw)
dear sir
i want to design a system moniter for linux
could you just guide me on what will be the basic
architerture like:
i have thought of
kernel(using printk)->logfile(myfile)->application
but in order to make it real time .please correct me
on this architecture
and i am unable to find some functions where the user
as well as kernel threads are actually exited also i
want to distinguish between the user level and kernel
level at that moment.but as i have done during the
forking of thread in fork.c in do_fork function
through the use of
if(p->mm==null)i could check the kernel thread or user
thread but i am unable do so during exit in exit.c in
do_exit function it seems that in somewhere between
execution the tsk->mm is being filled up .
so do i need to find some other place from which i can
find out about exiting threads and processes and what
will i check to see the user thread is exited or
kernel thread.
thanks sounak
________________________________________________________________________
Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/
reply other threads:[~2005-01-18 5:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20050118055238.65649.qmail@web53304.mail.yahoo.com \
--to=sounakrin@yahoo.co.in \
--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
all inboxes | Powered by JetHome®