User Guide Contribution for LTTng Trace Control (Bug 343438)
authorBernd Hufmann <bhufmann@gmail.com>
Fri, 6 May 2011 11:57:57 +0000 (07:57 -0400)
committerBernd Hufmann <bhufmann@gmail.com>
Fri, 6 May 2011 11:57:57 +0000 (07:57 -0400)
org.eclipse.linuxtools.lttng.help/Linux_Tools_Project/LTTng/User_Guide/User-Interface.html
org.eclipse.linuxtools.lttng.help/Linux_Tools_Project/LTTng/User_Guide/images/LTTngConfigureChannelsActions.png [new file with mode: 0644]
org.eclipse.linuxtools.lttng.help/Linux_Tools_Project/LTTng/User_Guide/images/LTTngConfigureChannelsKernelDialog.png [new file with mode: 0644]
org.eclipse.linuxtools.lttng.help/Linux_Tools_Project/LTTng/User_Guide/images/LTTngConfigureChannelsUstDialog.png [new file with mode: 0644]
org.eclipse.linuxtools.lttng.help/Linux_Tools_Project/LTTng/User_Guide/images/LTTngConfigureTraceDialog_New.png [new file with mode: 0644]
org.eclipse.linuxtools.lttng.help/toc.xml
org.eclipse.linuxtools.lttng.ui/src/org/eclipse/linuxtools/lttng/ui/tracecontrol/wizards/TraceConfigurationPage.java

index fdc5c0c0f9e9419a954a88b828b505b6a113baaf..d6b0f376075642a0317a5a8e31873a745b40b22b 100644 (file)
                <p>
                        <img border="0" src="images/LTTngRemoteSystemConfiguredTrace.png"/>
                </p>
-               <h4 id="Configure_a_Trace">Configure a Trace</h4>
-               <p>Some of the trace parameters can be changed if the trace hadn't been previously started. A new trace can be created by selecting the relevant kernel trace, clicking the right mouse button and selecting the "Configure Trace" menu item of the context sensitive menu. </p>
+               <h4 id="Configure_a_Trace_and_Trace_Channels">Configure a Trace and Trace Channels</h4>
+               <p>Some of the trace parameters can be changed if the trace has not been previously started. A trace can be configured by selecting the relevant kernel trace, clicking the right mouse button and selecting the "Configure Trace" menu item of the context sensitive menu. </p>
                <p>
                        <img border="0" src="images/LTTngConfigureTraceAction.png"/>
                </p>
-               <p>A new dialog box will show for the configuration of the relevant parameter. For explanation of the parameters see 
+               <p>A new dialog box with a wizard page will show for the configuration of the relevant parameter. For explanation of the parameters see 
                        <a href="User-Interface.html#Create_a_New_Kernel_Trace">Create_a_New_Kernel_Trace</a>
                </p>
                <p>
-                       <img border="0" src="images/LTTngConfigureTraceDialog.png"/>
+                       <img border="0" src="images/LTTngConfigureTraceDialog_New.png"/>
+               </p>
+               <p>After entering valid parameters the 
+                       <b>Next</b> and 
+                       <b>Finish</b> buttons will be active. To finalize the configuration of the trace select the 
+                       <b>Finish</b> button. To configure channel parameters select the 
+                       <b>Next</b> button. A new wizard page will show for the configuration of channel parameters. For provider 
+                       <b>kernel</b> the following display will show:  
+               </p>
+               <p>
+                       <img border="0" src="images/LTTngConfigureChannelsKernelDialog.png"/>
+               </p>
+               <p>All channels can be configured at once by clicking the right mouse button in the table and selecting one of the menu items of the context sensitive menu.</p>
+               <p>
+                       <img border="0" src="images/LTTngConfigureChannelsActions.png"/>
+               </p>
+               <p>For provider 
+                       <b>ust</b> only the channel parameter 
+                       <b>Channel Timer</b> can be configured and the following display will show after selecting the 
+                       <b>Next</b> button of the 
+                       <b>Trace configuration</b> page.
+               </p>
+               <p>
+                       <img border="0" src="images/LTTngConfigureChannelsUstDialog.png"/>
+               </p>
+               <p>Please note that channel parameters cannot be retrieved from the LTTng agent. Therefore they cannot be displayed in the table unless they have been previously configured through Eclipse. However, this information will be lost after closing Eclipse. A question mark will indicate that the relevant value is not known and it will be ignored after selecting the 
+                       <b>Finish</b> button.
+               </p>
+               <ul>
+                       <li>
+                               <b>Name</b> column: holds the name of the channel. 
+                       </li>
+                       <li>
+                               <b>Enabled</b> column: a checkbox indicates whether the channel is enabled or not.
+                       </li>
+                       <li>
+                               <b>Buffer Override</b> column: a checkbox indicates whether channel buffer overwrite is enabled or not. 
+                       </li>
+                       <li>
+                               <b>Number of Sub Buffers</b> column: holds the number of sub-buffers of the channel. 
+                       </li>
+                       <li>
+                               <b>Sub Buffer size</b> column: holds the size of the sub-buffer of the channel (in bytes). 
+                       </li>
+                       <li>
+                               <b>Channel Timer</b> column: holds the channel timer value (in milliseconds) for periodically flushing all collected data for the channel, whether the sub-buffers are full or not. The provider 
+                               <b>ust</b> only supports a single timer for all channels, traces and targets it is monitoring.
+                       </li>
+               </ul>
+               <p>Please note that the 
+                       <b>Configure Trace</b> item of the context sensitive menu of a trace can be used to display the trace and channel parameters at any time. However, they can only be changed if the trace has not been previously started.
                </p>
                <h4 id="Start_a_Trace">Start a Trace</h4>
                <p>A configured or paused trace can be started by selecting the kernel trace, clicking the right mouse button and selecting the 
diff --git a/org.eclipse.linuxtools.lttng.help/Linux_Tools_Project/LTTng/User_Guide/images/LTTngConfigureChannelsActions.png b/org.eclipse.linuxtools.lttng.help/Linux_Tools_Project/LTTng/User_Guide/images/LTTngConfigureChannelsActions.png
new file mode 100644 (file)
index 0000000..8ce9b2f
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.help/Linux_Tools_Project/LTTng/User_Guide/images/LTTngConfigureChannelsActions.png differ
diff --git a/org.eclipse.linuxtools.lttng.help/Linux_Tools_Project/LTTng/User_Guide/images/LTTngConfigureChannelsKernelDialog.png b/org.eclipse.linuxtools.lttng.help/Linux_Tools_Project/LTTng/User_Guide/images/LTTngConfigureChannelsKernelDialog.png
new file mode 100644 (file)
index 0000000..7b428d6
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.help/Linux_Tools_Project/LTTng/User_Guide/images/LTTngConfigureChannelsKernelDialog.png differ
diff --git a/org.eclipse.linuxtools.lttng.help/Linux_Tools_Project/LTTng/User_Guide/images/LTTngConfigureChannelsUstDialog.png b/org.eclipse.linuxtools.lttng.help/Linux_Tools_Project/LTTng/User_Guide/images/LTTngConfigureChannelsUstDialog.png
new file mode 100644 (file)
index 0000000..0b63ad0
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.help/Linux_Tools_Project/LTTng/User_Guide/images/LTTngConfigureChannelsUstDialog.png differ
diff --git a/org.eclipse.linuxtools.lttng.help/Linux_Tools_Project/LTTng/User_Guide/images/LTTngConfigureTraceDialog_New.png b/org.eclipse.linuxtools.lttng.help/Linux_Tools_Project/LTTng/User_Guide/images/LTTngConfigureTraceDialog_New.png
new file mode 100644 (file)
index 0000000..df53455
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.help/Linux_Tools_Project/LTTng/User_Guide/images/LTTngConfigureTraceDialog_New.png differ
index 5c2d5351262f2adf87ae19041022ea9622c2add6..9da35b538e0afe009c4de2b208ac37f588ab7abf 100644 (file)
@@ -31,7 +31,7 @@
                                        <topic href="Linux_Tools_Project/LTTng/User_Guide/User-Interface.html#Connect_to_Remote_Host" label="Connect to Remote Host"></topic>
                                        <topic href="Linux_Tools_Project/LTTng/User_Guide/User-Interface.html#Configure_Kernel_Markers" label="Configure Kernel Markers"></topic>
                                        <topic href="Linux_Tools_Project/LTTng/User_Guide/User-Interface.html#Create_a_New_Kernel_Trace" label="Create a New Kernel Trace"></topic>
-                                       <topic href="Linux_Tools_Project/LTTng/User_Guide/User-Interface.html#Configure_a_Trace" label="Configure a Trace"></topic>
+                                       <topic href="Linux_Tools_Project/LTTng/User_Guide/User-Interface.html#Configure_a_Trace_and_Trace_Channels" label="Configure a Trace and Trace Channels"></topic>
                                        <topic href="Linux_Tools_Project/LTTng/User_Guide/User-Interface.html#Start_a_Trace" label="Start a Trace"></topic>
                                        <topic href="Linux_Tools_Project/LTTng/User_Guide/User-Interface.html#Pause_a_Trace" label="Pause a Trace"></topic>
                                        <topic href="Linux_Tools_Project/LTTng/User_Guide/User-Interface.html#Stop_a_Trace" label="Stop a Trace"></topic>
index d0432a50489d1b5f2529fef10a2521876b414c2a..e89e9435041420922e7db06312129701297337c9 100644 (file)
@@ -371,8 +371,11 @@ public class TraceConfigurationPage extends WizardPage {
         if(fOldTraceConfig != null) {\r
             fPathText.setText(fOldTraceConfig.getTracePath());\r
             fIsLocal = fOldTraceConfig.isNetworkTrace();\r
+            fLocalButton.setSelection(fIsLocal);\r
+            fRemoteButton.setSelection(!fIsLocal);\r
             fBrowseButton.setEnabled(true);\r
             fIsAppend = fOldTraceConfig.getIsAppend();\r
+            fIsAppendButton.setSelection(fIsAppend);\r
             fNumChannelText.setText(String.valueOf(fOldTraceConfig.getNumChannel()));\r
 \r
             fFlightRecorderButton.setSelection(fOldTraceConfig.getMode() == TraceConfig.FLIGHT_RECORDER_MODE);\r
This page took 0.032269 seconds and 5 git commands to generate.