This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: pid and execname mismatches
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: tonyg362 <tonyg3622 at yahoo dot com>
- Cc: systemtap at sourceware dot org
- Date: Thu, 22 Jul 2010 11:12:42 -0400
- Subject: Re: pid and execname mismatches
- References: <29237551.post@talk.nabble.com>
tonyg362 <tonyg3622@yahoo.com> writes:
> [...]
> if (!([ppid] in pidlist))
> pidlist[ppid] = name
> [...]
The problem here is that sometimes the execname() of a particular pid
changes, such as if it ever does an exec(). So you need to keep that
table updated even if a previous entry exists.
- FChE