Using systemtap on MPI applications
Frank Ch. Eigler
fche@redhat.com
Wed Mar 16 14:07:00 GMT 2016
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
More information about the Systemtap
mailing list