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


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


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