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: Using systemtap on MPI applications


Hi -

> > "Olausson, Bjoern"  wrote:

> Indeed it would be great if stap would be MPI aware in some way.

"patches welcome" :-)  we'd be glad to advise, but aren't planning
to undertake the work ourselves very soon.


> Still there is the issue on how to filter what stap is tracing. How
> would I tell stap to only focus on one particular executable or PID
> when using the --remote  switch so target() can be used.
> Any ideas on that?

I believe the "stap -c CMD" and "stap -x PID" options both travel
through "stap --remote ..." ssh, though of course the former makes a
lot more sense.  The "-c CMD" may be good enough for MPI purposes.
And there's always filtering from first principles:

  if (execname() =~ ".*foo.*" && uid() == 44) { }

- FChE


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