pid and execname mismatches

Frank Ch. Eigler fche@redhat.com
Thu Jul 22 15:12:00 GMT 2010


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



More information about the Systemtap mailing list