This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pid and execname mismatches


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]