Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Linux Tools Project/Systemtap/User Guide/ide/lesson1.html"
(New page: <h2> IDE Tutorial, Lesson One: Getting Started </h2> In this tutorial we will orient you with IDE Perspective and its functions. At this point we assume that you are able to run Systemtap...) |
|||
Line 5: | Line 5: | ||
In this tutorial we will orient you with IDE Perspective and its functions. At this point we assume | In this tutorial we will orient you with IDE Perspective and its functions. At this point we assume | ||
that you are able to run Systemtap GUI and are unfamiliar with how to procede. If you cannot yet start | that you are able to run Systemtap GUI and are unfamiliar with how to procede. If you cannot yet start | ||
− | the application, please refer to our | + | the application, please refer to our [[Linux_Tools_Project/Systemtap/User_Guide/installation | Installation help page]] |
<b>NOTE:</b> If this is the first time opening the IDE Perspective it will take a while to load as it has to | <b>NOTE:</b> If this is the first time opening the IDE Perspective it will take a while to load as it has to | ||
− | parse | + | parse the tapsets. <br><br> |
The IDE Perspective's purpose is to allow the user to create, view, and edit Systemtap scripts. There are | The IDE Perspective's purpose is to allow the user to create, view, and edit Systemtap scripts. There are | ||
Line 23: | Line 23: | ||
text. Systemtap GUI supports syntax highlighting for the ease of the writer. Feel free to edit the file.<br><br> | text. Systemtap GUI supports syntax highlighting for the ease of the writer. Feel free to edit the file.<br><br> | ||
− | At this point proceed to | + | At this point proceed to [[Linux_Tools_Project/Systemtap/User_Guide/ide/lesson2.html | Lesson 2: Writing Your First Script ]] if you wish to learn how to write your |
− | own script file or | + | own script file or [[Linux_Tools_Project/Systemtap/User_Guide/ide/lesson3.html | Lesson 3: Running Your Script ]] if you wish to run this one.<br><br> |
− | + | [[Linux_Tools_Project/Systemtap/User_Guide/ide/IDETutorial.html | Back to Tutorial ]] |
Revision as of 10:41, 9 November 2010
IDE Tutorial, Lesson One: Getting Started
In this tutorial we will orient you with IDE Perspective and its functions. At this point we assume
that you are able to run Systemtap GUI and are unfamiliar with how to procede. If you cannot yet start
the application, please refer to our Installation help page
NOTE: If this is the first time opening the IDE Perspective it will take a while to load as it has to
parse the tapsets.
The IDE Perspective's purpose is to allow the user to create, view, and edit Systemtap scripts. There are
other editors built in (plain text and the C editor), however, they ultimately exist to facilitate the
writing of Systemtap scripts.
In this lesson we will open a new Systemtap script file to familiarize ourselves with the IDE Perspective. Start by opening the File menu and selecting Open. A dialogue box will pop up and request the location of the file you want to open. We've included a folder called "examples" right in the tar ball. You may chose any of them to use; in this tutorial we will open top.stp. Go ahead and open the file.
<img src="images/editor.png">
You'll see the file is loaded into the editor pane of Systemtap GUI. You'll also noticed different colored
text. Systemtap GUI supports syntax highlighting for the ease of the writer. Feel free to edit the file.
At this point proceed to Lesson 2: Writing Your First Script if you wish to learn how to write your
own script file or Lesson 3: Running Your Script if you wish to run this one.