[Esbox-commits] r1913 - in branches/work_Andre/org.maemo.esbox.help/html: concepts images/profiling tasks

andregomes at garage.maemo.org andregomes at garage.maemo.org
Fri Jul 31 22:13:36 EEST 2009


Author: andregomes
Date: 2009-07-31 22:13:36 +0300 (Fri, 31 Jul 2009)
New Revision: 1913

Added:
   branches/work_Andre/org.maemo.esbox.help/html/images/profiling/ltrace-menu.png
   branches/work_Andre/org.maemo.esbox.help/html/images/profiling/ltrace-view.png
Modified:
   branches/work_Andre/org.maemo.esbox.help/html/concepts/ProfilingApplications.html
   branches/work_Andre/org.maemo.esbox.help/html/tasks/ProfilingMaemoApplications.html
Log:
Adding Ltrace documentation.

Modified: branches/work_Andre/org.maemo.esbox.help/html/concepts/ProfilingApplications.html
===================================================================
--- branches/work_Andre/org.maemo.esbox.help/html/concepts/ProfilingApplications.html	2009-07-31 14:53:32 UTC (rev 1912)
+++ branches/work_Andre/org.maemo.esbox.help/html/concepts/ProfilingApplications.html	2009-07-31 19:13:36 UTC (rev 1913)
@@ -16,8 +16,9 @@
 By simply profiling an application, it becomes immediately apparent where the 
 overwhelming memory and CPU burdens exist, and allows you to quickly squash them.
 ESbox provides support for <a href="http://www.valgrind.org/">Valgrind</a> 
-memory profiler and <a href="http://oprofile.sourceforge.net/news/">OProfile</a> 
-system-wide profiler for both C/C++ and Python Projects.</p>
+memory profiler, <a href="http://oprofile.sourceforge.net/news/">OProfile</a> 
+system-wide profiler and <a href="http://www.ltrace.org">Ltrace</a> library call monitor
+ for both C/C++ and Python Projects.</p>
 
 <h3 class="style1">Valgrind</h3>
 <p>Valgrind is an Open Source suite of tools for debugging and profiling Linux programs. 
@@ -42,6 +43,15 @@
 of a wide variety of interesting statistics, which can also be used for basic 
 time-spent profiling. All code is profiled: hardware and software interrupt handlers, 
 kernel modules, the kernel, shared libraries, and applications.</p>
+
+
+
+<h3 class="style1">Ltrace</h3>
+<p>Ltrace is a debugging program 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.</p>
+
+
 <h3>Related Topic</h3>
 <ul>
   <li><a href="../tasks/ProfilingMaemoApplications.html">Profiling Maemo Applications</a>  </li>

Added: branches/work_Andre/org.maemo.esbox.help/html/images/profiling/ltrace-menu.png
===================================================================
(Binary files differ)


Property changes on: branches/work_Andre/org.maemo.esbox.help/html/images/profiling/ltrace-menu.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/work_Andre/org.maemo.esbox.help/html/images/profiling/ltrace-view.png
===================================================================
(Binary files differ)


Property changes on: branches/work_Andre/org.maemo.esbox.help/html/images/profiling/ltrace-view.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: branches/work_Andre/org.maemo.esbox.help/html/tasks/ProfilingMaemoApplications.html
===================================================================
--- branches/work_Andre/org.maemo.esbox.help/html/tasks/ProfilingMaemoApplications.html	2009-07-31 14:53:32 UTC (rev 1912)
+++ branches/work_Andre/org.maemo.esbox.help/html/tasks/ProfilingMaemoApplications.html	2009-07-31 19:13:36 UTC (rev 1913)
@@ -32,9 +32,9 @@
   Profiling is one of the most important techniques available for programmers to discover problems
   in applications. By profiling an application, it becomes immediately apparent where the 
   overwhelming memory and CPU burdens exist, and allows you to quickly squash them. ESbox provides
-  support for <a href="http://www.valgrind.org/">Valgrind</a> memory profiler and 
-  <a href="http://oprofile.sourceforge.net/news/">OProfile</a> system-wide profiler for both C/C++
-  and Python Projects.
+  support for <a href="http://www.valgrind.org/">Valgrind</a> memory profiler, <a href="http://oprofile.sourceforge.net/news/">OProfile</a> 
+  system-wide profiler and <a href="http://www.ltrace.org">Ltrace</a> library call monitor 
+  for both C/C++ and Python Projects.
  </p>
 
  <h3>Using Valgrind</h3>
@@ -95,7 +95,33 @@
  <p>
   <img src="../images/profiling/oprofile-view.png">
  </p>
+ 
+  <h3>Using Ltrace</h3>
+ <p>
+  Ltrace is a debugging program 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.
+ </p>
 
+ <p>
+  To run LTrace, right-click on the application (binary for C/C++ projects or the Python script
+  for Python projects) and select <strong>Profile As &gt; Local/Remote Ltrace Profiler</strong>. 
+ </p> 
+ 
+ <p>
+  <img src="../images/profiling/ltrace-menu.png">
+ </p>
+ 
+ <p>
+  After Ltrace starts, ESbox launches your application on the SDKTarget and
+  the result is shown in Ltrace view. All Library and System calls are shown
+  as a tree: parent nodes and child nodes for each new nested call.
+ </p>
+ 
+ <p>
+  <img src="../images/profiling/ltrace-view.png">
+ </p>
+
 </body>
 </html>
 



More information about the Esbox-commits mailing list