This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: what does 'probe process(PID_OR_NAME).clone' mean?
- From: Ananth N Mavinakayanahalli <ananth at in dot ibm dot com>
- To: David Smith <dsmith at redhat dot com>
- Cc: Systemtap List <systemtap at sources dot redhat dot com>, Roland McGrath <roland at redhat dot com>
- Date: Thu, 29 May 2008 17:41:14 +0530
- Subject: Re: what does 'probe process(PID_OR_NAME).clone' mean?
- References: <483D9456.4070107@redhat.com> <483D9542.1040007@redhat.com> <483DC26D.1@redhat.com>
- Reply-to: ananth at in dot ibm dot com
On Wed, May 28, 2008 at 03:37:01PM -0500, David Smith wrote:
> David Smith wrote:
>
> On more question. Frank and I bounced a few ideas on irc the other day,
> and we wondered if there was a good way on UTRACE_EVENT(DEATH) to tell
> the difference between a "thread" death and "process" death?
Thread dying => task_struct->pid != task_struct->tgid
and
Process dying => task_struct->pid == task_struct->tgid
??