<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://maemo.octonezd.me/index.php?action=history&amp;feed=atom&amp;title=Documentation%2FMaemo_Eclipse_Tutorial%2FEclipse_Tracing</id>
	<title>Documentation/Maemo Eclipse Tutorial/Eclipse Tracing - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://maemo.octonezd.me/index.php?action=history&amp;feed=atom&amp;title=Documentation%2FMaemo_Eclipse_Tutorial%2FEclipse_Tracing"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Documentation/Maemo_Eclipse_Tutorial/Eclipse_Tracing&amp;action=history"/>
	<updated>2026-04-22T07:38:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Documentation/Maemo_Eclipse_Tutorial/Eclipse_Tracing&amp;diff=8032&amp;oldid=prev</id>
		<title>imported_&gt;amigadave: wikify slightly, reformat images, add links</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Documentation/Maemo_Eclipse_Tutorial/Eclipse_Tracing&amp;diff=8032&amp;oldid=prev"/>
		<updated>2010-11-05T13:20:32Z</updated>

		<summary type="html">&lt;p&gt;wikify slightly, reformat images, add links&lt;/p&gt;
&lt;a href=&quot;https://maemo.octonezd.me/index.php?title=Documentation/Maemo_Eclipse_Tutorial/Eclipse_Tracing&amp;amp;diff=8032&amp;amp;oldid=8033&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>imported_&gt;amigadave</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Documentation/Maemo_Eclipse_Tutorial/Eclipse_Tracing&amp;diff=8033&amp;oldid=prev</id>
		<title>imported_&gt;amigadave: wikify slightly, use ambox</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Documentation/Maemo_Eclipse_Tutorial/Eclipse_Tracing&amp;diff=8033&amp;oldid=prev"/>
		<updated>2010-07-15T14:33:19Z</updated>

		<summary type="html">&lt;p&gt;wikify slightly, use ambox&lt;/p&gt;
&lt;a href=&quot;https://maemo.octonezd.me/index.php?title=Documentation/Maemo_Eclipse_Tutorial/Eclipse_Tracing&amp;amp;diff=8033&amp;amp;oldid=8034&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>imported_&gt;amigadave</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Documentation/Maemo_Eclipse_Tutorial/Eclipse_Tracing&amp;diff=8034&amp;oldid=prev</id>
		<title>imported_&gt;amigadave: Category:Eclipse</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Documentation/Maemo_Eclipse_Tutorial/Eclipse_Tracing&amp;diff=8034&amp;oldid=prev"/>
		<updated>2010-05-11T05:42:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/index.php/Category:Eclipse&quot; title=&quot;Category:Eclipse&quot;&gt;Category:Eclipse&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:42, 11 May 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l131&quot;&gt;Line 131:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 131:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Documentation]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Documentation]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Eclipse]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported_&gt;amigadave</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Documentation/Maemo_Eclipse_Tutorial/Eclipse_Tracing&amp;diff=8035&amp;oldid=prev</id>
		<title>imported_&gt;amigadave: categorize</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Documentation/Maemo_Eclipse_Tutorial/Eclipse_Tracing&amp;diff=8035&amp;oldid=prev"/>
		<updated>2010-05-11T05:35:48Z</updated>

		<summary type="html">&lt;p&gt;categorize&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:35, 11 May 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Eclipse Tracing =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Eclipse Tracing =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l130&quot;&gt;Line 130:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 129:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== References ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== References ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Documentation]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported_&gt;amigadave</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Documentation/Maemo_Eclipse_Tutorial/Eclipse_Tracing&amp;diff=8036&amp;oldid=prev</id>
		<title>imported_&gt;dneary: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Documentation/Maemo_Eclipse_Tutorial/Eclipse_Tracing&amp;diff=8036&amp;oldid=prev"/>
		<updated>2010-04-09T13:35:05Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:35, 9 April 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>imported_&gt;dneary</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Documentation/Maemo_Eclipse_Tutorial/Eclipse_Tracing&amp;diff=8037&amp;oldid=prev</id>
		<title>imported_&gt;Wikiuser: importing documentation, see Meta:Problems in the LaTeX2HTML2Wiki import process</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Documentation/Maemo_Eclipse_Tutorial/Eclipse_Tracing&amp;diff=8037&amp;oldid=prev"/>
		<updated>2010-04-09T09:04:24Z</updated>

		<summary type="html">&lt;p&gt;importing documentation, see &lt;a href=&quot;/index.php/Meta:Problems_in_the_LaTeX2HTML2Wiki_import_process&quot; title=&quot;Meta:Problems in the LaTeX2HTML2Wiki import process&quot;&gt;Meta:Problems in the LaTeX2HTML2Wiki import process&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
= Eclipse Tracing =&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
IDE Integration provides support for Ltrace library call monitor profiling, available for ESbox and PluThon products. This tutorial presents a brief introduction to Ltrace and shows how to profile your applications at ESbox and PluThon using the Ltrace. Furthermore, it helps you understand how to interpret Ltrace debugging results.&lt;br /&gt;
&lt;br /&gt;
In some cases, it might be useful to verify which are system calls and signals involved during a certain application execution. Ltrace is a profiling tool, which runs a specified command until it exits. While the command is executing, Ltrace intercepts and records the dynamic library calls, which are called by the executed process and the signals received by that process. It can also monitor system calls used by a program.&lt;br /&gt;
&lt;br /&gt;
= Ltrace and Eclipse IDE Integration =&lt;br /&gt;
&lt;br /&gt;
Maemo Eclipse IDE integration products (ESbox and PluThon) provide support for Ltrace tool for C/C++, Qt4 and Python projects on Maemo SDK and device environments. ESbox and PluThon use the command &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;ltrace -S -T&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; to run Ltrace: &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;-S&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; option to display system calls as well as library calls and &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;-T&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; option to show the time spent inside each call. There are other options for Ltrace not used at IDE Integration, they can be found at &amp;lt;ref name=r1&amp;gt;Ltrace Man Page. http://linux.die.net/man/1/ltrace&amp;lt;/ref&amp;gt;. This section shows how to profile your applications at ESbox and PluThon and how to analyse profiling results.&lt;br /&gt;
&lt;br /&gt;
== Profiling your Maemo application with Ltrace ==&lt;br /&gt;
&lt;br /&gt;
At first, you must create a C/C++, Qt4 or Python Maemo Project and select the target. After that, run the application with the Ltrace tool. The running can be local and remote for ESbox projects and remote for PluThon projects, as shown below.&lt;br /&gt;
&lt;br /&gt;
=== Local Ltrace Profiling ===&lt;br /&gt;
&lt;br /&gt;
To locally run LTrace on ESbox, right-click on the application (binary for C/C++ and Qt4 projects or the Python script for Python projects) and select &amp;#039;&amp;#039;&amp;#039;Profile As &amp;amp;gt; Local Ltrace Profiler&amp;#039;&amp;#039;&amp;#039;, figure [[#fig:eclipse_tracing_ltrace-menu-local|9.1]]. If the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;ltrace&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; tool is not properly installed at the selected target, the system can automatically install it, figure [[#fig:eclipse_tracing_install-ltrace|9.2]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Locally Profiling application with Ltrace&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |&amp;#039;&amp;#039;&amp;#039;Figure 9.1:&amp;#039;&amp;#039;&amp;#039; Locally Profiling application with Ltrace&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:ltrace-menu-local.png|Image ltrace-menu-local]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Installing Ltrace at target&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |&amp;#039;&amp;#039;&amp;#039;Figure 9.2:&amp;#039;&amp;#039;&amp;#039; Installing Ltrace at target&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:install-ltrace.png|Image install-ltrace]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After Ltrace starts, ESbox launches your application on the SDK target and the result is shown in the Ltrace view, figure [[#fig:eclipse_tracing_ltrace-view-local|9.3]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Local Ltrace View&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |&amp;#039;&amp;#039;&amp;#039;Figure 9.3:&amp;#039;&amp;#039;&amp;#039; Local Ltrace View&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:ltrace-view-local.png|Image ltrace-view-local]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All library and system calls are shown as a table tree: parent nodes representing initial library or system calls and child nodes for each new nested call. Each node or line has four columns: Order, Call, Exit code and Time. By clicking on any column headers you can sort the lines by that column, and if you click again on the same column the sorter direction is inverted. Column &amp;#039;&amp;#039;&amp;#039;Order&amp;#039;&amp;#039;&amp;#039; is used as default sorter column.&lt;br /&gt;
&lt;br /&gt;
=== Remote Ltrace Profiling ===&lt;br /&gt;
&lt;br /&gt;
To remotely run LTrace on PluThon (or ESbox), right-click on the Python project and select &amp;#039;&amp;#039;&amp;#039;Profile As &amp;amp;gt; PluThon Remote Ltrace Python Profiler&amp;#039;&amp;#039;&amp;#039;, figure [[#fig:eclipse_tracing_ltrace-menu-remote|9.4]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Remotely Profiling application with Ltrace&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |&amp;#039;&amp;#039;&amp;#039;Figure 9.4:&amp;#039;&amp;#039;&amp;#039; Remotely Profiling application with Ltrace&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:ltrace-menu-remote.png|Image ltrace-menu-remote]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After Ltrace starts, PluThon launches your application on the Device and the result is shown in the Ltrace view as described before, figure [[#fig:eclipse_tracing_ltrace-view-remote|9.5]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Remote Ltrace View&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |&amp;#039;&amp;#039;&amp;#039;Figure 9.5:&amp;#039;&amp;#039;&amp;#039; Remote Ltrace View&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:ltrace-view-remote.png|Image ltrace-view-remote]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:dialog-information.png]]&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039;  If you are planning to run the Ltrace profiler more than once, you do not have to worry about cleaning current Ltrace view results, because this is done automatically before each new profiling. However, if you need to clean the Ltrace view during the profiling, you just need to click &amp;#039;&amp;#039;&amp;#039;Delete Current ltrace lines&amp;#039;&amp;#039;&amp;#039; button on the Ltrace view toolbar, so the view is reset and keeps receiving current ltrace results.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Analyzing results ==&lt;br /&gt;
&lt;br /&gt;
During Ltrace profiling, all library and system calls are monitored and listed as a new node/line at Ltrace view. Each line has four columns:&lt;br /&gt;
&lt;br /&gt;
* Order: the position of the call in the table tree view. This column restarts for each nested call.&lt;br /&gt;
* Description: the description of the library or system call.&lt;br /&gt;
* Exit: exit code of the call.&lt;br /&gt;
* Time: the time spent inside the call. This records the time difference between the beginning and the end of the call.&lt;br /&gt;
&lt;br /&gt;
Let us analyse an Ltrace profiling using a Python Project at target &amp;lt;code&amp;gt;DIABLO_X86&amp;lt;/code&amp;gt;. After running the Python project with Ltrace you see the following results at Ltrace view, figure [[#fig:eclipse_tracing_ltrace-results-1|9.6]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Ltrace results - initial lines&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |&amp;#039;&amp;#039;&amp;#039;Figure 9.6:&amp;#039;&amp;#039;&amp;#039; Ltrace results - initial lines&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:ltrace-results-1.png|Image ltrace-results-1]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First, on the initial lines, we can see some system calls indicating that the program is being linked and loaded. For example, line 6 represents a system call named &amp;lt;code&amp;gt;SYS_open&amp;lt;/code&amp;gt; that exited with code -2 and took 0.000018 seconds to finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Ltrace results - program&amp;amp;#39;s main statement&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |&amp;#039;&amp;#039;&amp;#039;Figure 9.7:&amp;#039;&amp;#039;&amp;#039; Ltrace results - program&amp;#039;s main statement&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:ltrace-results-2.png|Image ltrace-results-2]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the latest Ltrace lines (figure [[#fig:eclipse_tracing_ltrace-results-2|9.7]]) we can see at line 85 that the program reached the main statement, called &amp;lt;code&amp;gt;__libc_start_main&amp;lt;/code&amp;gt;. Notice also that the main statement has children nodes, that is, it has called another nested call (&amp;lt;code&amp;gt;PY_Main&amp;lt;/code&amp;gt;) that has called another nested calls, and so on.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported_&gt;Wikiuser</name></author>
	</entry>
</feed>