Bug 10350 - support list-installation-prerequisites mode
Summary: support list-installation-prerequisites mode
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: translator (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-30 16:52 UTC by Frank Ch. Eigler
Modified: 2010-09-27 14:49 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Ch. Eigler 2009-06-30 16:52:43 UTC
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.
Comment 1 Frank Ch. Eigler 2010-09-27 14:49:54 UTC
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