pid and execname mismatches
Mark Wielaard
mjw@redhat.com
Thu Jul 22 14:50:00 GMT 2010
On Thu, 2010-07-22 at 07:29 -0700, tonyg362 wrote:
> I'm trying to collect the pids and execnames of every process when it enters
> the scheduler. The problem is that it seems as though the pid of the process
> I use for the -c option always gives me the execname of the stapio process.
This might come from the the following in runtime/staprun/mainloop.c:
#define WORKAROUND_BZ467568 1 /* PR 6964; XXX: autoconf when able */
I suspect that if you remove that line things work as expected. As the
comment says, it would be good to add some sort of autoconf for this.
Cheers,
Mark
More information about the Systemtap
mailing list