A special case of -p2, an option should exist that prints all the various translation-time debuginfo (and/or -devel?) prerequisites of a stp script being compiled. The aim is so that a static offline analysis of the script would enable a sysadmin to install all the needed debuginfo/etc. needed for a script, without the "try foo.stp; get missing-dwarf error; install it; try again..." loop.
The RPMLIB use in the translator appears to satisfy this now: stap -p2 -e 'probe process("/bin/tar").function("*") {}' WARNING: cannot find module /bin/tar debuginfo: No DWARF information found semantic error: no match while resolving probe point process("/bin/tar").function("*") Pass 2: analysis failed. Try again with another '--vp 01' option. Missing separate debuginfos, use: debuginfo-install tar-1.22-18.fc13.x86_64