This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: pid and execname mismatches
- From: Mark Wielaard <mjw at redhat dot com>
- To: tonyg362 <tonyg3622 at yahoo dot com>
- Cc: systemtap at sourceware dot org
- Date: Thu, 22 Jul 2010 16:49:59 +0200
- Subject: Re: pid and execname mismatches
- References: <29237551.post@talk.nabble.com>
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