Linux Tools Project/Systemtap/User Guide/ide/creatingSystemtapScripts.html
Creating SystemTap Scripts
Create a SystemTap script by selecting File->New in the IDE Perspective. You'll be
prompted to enter a name for the file; make sure that you use a .stp extension or else SystemTap GUI
will not recognize the file as a SystemTap script and certain editor and run features will not be active.
Your new file will be open and ready for coding in the Editor pane.
A IDE Tutorial is also provided in the help pages
for a step by step demo.
For advanced SystemTap langauge help please see the SystemTap Development User's Guide and the documentation available at the SystemTap website's documentation page - http://sourceware.org/systemtap/documentation.html