Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/gcov
diff options
context:
space:
mode:
authorJeff Johnston2013-05-27 22:57:55 +0000
committerJeff Johnston2013-05-27 23:49:39 +0000
commitf74ddf9d115186cb3ef6ca4e6c52c8360b93bebe (patch)
tree15c472e0bfdec20e2e7994e0ea10c9c8f0364d38 /gcov
parent5b4f1e558b2803ad54ea9d8ba3b2eba1aedcb7a0 (diff)
downloadorg.eclipse.linuxtools-f74ddf9d115186cb3ef6ca4e6c52c8360b93bebe.tar.gz
org.eclipse.linuxtools-f74ddf9d115186cb3ef6ca4e6c52c8360b93bebe.tar.xz
org.eclipse.linuxtools-f74ddf9d115186cb3ef6ca4e6c52c8360b93bebe.zip
Update Gcov Docs from updated wiki page.
Change-Id: Idd1ea924cc9ca3691b4b2f0551cfc2c4100cec2f Reviewed-on: https://git.eclipse.org/r/13250 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com> IP-Clean: Jeff Johnston <jjohnstn@redhat.com> Tested-by: Jeff Johnston <jjohnstn@redhat.com>
Diffstat (limited to 'gcov')
-rw-r--r--gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/Gcov-main-view.html12
-rw-r--r--gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/Installation-and-Set-Up.html4
-rw-r--r--gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/Opening-gcov-result.html12
-rw-r--r--gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/Profiling-Code-Coverage.html66
-rw-r--r--gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/User-Guide.html1
-rw-r--r--gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/images/LinuxToolsGcovAnnotatedSource.pngbin0 -> 43889 bytes
-rw-r--r--gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/images/LinuxToolsGcovProfilingTools.pngbin0 -> 30470 bytes
-rw-r--r--gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/images/LinuxToolsGcovView.pngbin0 -> 44397 bytes
-rw-r--r--gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/images/LinuxToolsProfileAsGcov.pngbin0 -> 39523 bytes
-rw-r--r--gcov/org.eclipse.linuxtools.gcov.docs/toc.xml1
10 files changed, 81 insertions, 15 deletions
diff --git a/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/Gcov-main-view.html b/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/Gcov-main-view.html
index c024b0a94c..d1607a6b3a 100644
--- a/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/Gcov-main-view.html
+++ b/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/Gcov-main-view.html
@@ -12,7 +12,7 @@
</tr>
<tr>
<td style="width: 20%" align="left">
- <a href="Opening-gcov-result.html" title="Opening gcov result">
+ <a href="Profiling-Code-Coverage.html" title="Profiling Code Coverage">
<img alt="Previous" border="0" src="../../../images/prev.gif"/>
</a>
</td>
@@ -24,7 +24,7 @@
</td>
</tr>
<tr>
- <td style="width: 20%" align="left" valign="top">Opening gcov result</td>
+ <td style="width: 20%" align="left" valign="top">Profiling Code Coverage</td>
<td style="width: 60%" align="center"></td>
<td style="width: 20%" align="right" valign="top">Troubleshooting</td>
</tr>
@@ -32,7 +32,7 @@
<h1 id="Gcov_main_view">Gcov main view</h1>
<p>The Gcov view displays an overview of coverage information for the whole project.</p>
<p>
- <img border="0" src="images/GcovView.png"/>
+ <img border="0" src="images/LinuxToolsGcovView.png"/>
</p>
<p>
<br/> Several buttons are available in the toolbar.
@@ -58,12 +58,12 @@
</ul>
<p>Double-clicking on a item in the result view will open the corresponding source location, annotated with coverage informations.</p>
<p>
- <img border="0" src="images/GcovAnnotatedSource.png"/>
+ <img border="0" src="images/LinuxToolsGcovAnnotatedSource.png"/>
</p><hr/>
<table class="navigation" style="width: 100%;" border="0" summary="navigation">
<tr>
<td style="width: 20%" align="left">
- <a href="Opening-gcov-result.html" title="Opening gcov result">
+ <a href="Profiling-Code-Coverage.html" title="Profiling Code Coverage">
<img alt="Previous" border="0" src="../../../images/prev.gif"/>
</a>
</td>
@@ -79,7 +79,7 @@
</td>
</tr>
<tr>
- <td style="width: 20%" align="left" valign="top">Opening gcov result</td>
+ <td style="width: 20%" align="left" valign="top">Profiling Code Coverage</td>
<td style="width: 60%" align="center"></td>
<td style="width: 20%" align="right" valign="top">Troubleshooting</td>
</tr>
diff --git a/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/Installation-and-Set-Up.html b/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/Installation-and-Set-Up.html
index c044fcb5bd..27eaa59f1b 100644
--- a/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/Installation-and-Set-Up.html
+++ b/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/Installation-and-Set-Up.html
@@ -30,8 +30,8 @@
</tr>
</table><hr/>
<h1 id="Installation_and_Set-Up">Installation and Set-Up</h1>
- <p>Gprof plugin depends on binutils (such as addr2line, c++filt and nm). Gprof can be used on any platform as soon as these binutils are in PATH. For example, you can use it on Windows with Cygwin.</p>
- <p>First of all, the user has to compile the C/C++ program with profiling enabled using "-ftest-coverage -fprofile-arcs" options prior to running the tool. These two options must be passed to both the compiler and the linker (please refer to gcc documentation for further information)</p><hr/>
+ <p>Gcov plugin depends on binutils (such as addr2line, c++filt and nm). Gcov can be used on any platform as soon as these binutils are in PATH. For example, you can use it on Windows with Cygwin.</p>
+ <p>First of all, the user has to compile the C/C++ program with profiling enabled using "-ftest-coverage -fprofile-arcs" options prior to running the tool. These two options must be passed via the project properties to both the compiler (C/C++ Build-&gt;Settings-&gt;Tool Settings-&gt;GCC C Compiler-&gt;Miscellaneous-&gt;Other flags) and the linker (C/C++ Build-&gt;Settings-&gt;Tool Settings-&gt;GCC C Linker-&gt;Miscellaneous-&gt;Linker flags). For a CDT Autotools project, there is a check-box found under the project properties (Autotools-&gt;Configure Settings-&gt;configure-&gt;Advanced-&gt;Gcov support).</p><hr/>
<table class="navigation" style="width: 100%;" border="0" summary="navigation">
<tr>
<td style="width: 20%" align="left">
diff --git a/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/Opening-gcov-result.html b/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/Opening-gcov-result.html
index 28fcc89e72..a73baffce9 100644
--- a/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/Opening-gcov-result.html
+++ b/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/Opening-gcov-result.html
@@ -18,7 +18,7 @@
</td>
<td style="width: 60%" align="center"></td>
<td style="width: 20%" align="right">
- <a href="Gcov-main-view.html" title="Gcov main view">
+ <a href="Profiling-Code-Coverage.html" title="Profiling Code Coverage">
<img alt="Next" border="0" src="../../../images/next.gif"/>
</a>
</td>
@@ -26,7 +26,7 @@
<tr>
<td style="width: 20%" align="left" valign="top">Installation and Set-Up</td>
<td style="width: 60%" align="center"></td>
- <td style="width: 20%" align="right" valign="top">Gcov main view</td>
+ <td style="width: 20%" align="right" valign="top">Profiling Code Coverage</td>
</tr>
</table><hr/>
<h1 id="Opening_gcov_result">Opening gcov result</h1>
@@ -34,8 +34,8 @@
<p>
<img border="0" src="images/Gcov-project-explorer.png"/>
</p>
- <p>Double clicking on one of these files will open a dialog to select the associated binary.
-
+ <p>Double clicking on one of these files will open a dialog to select the associated binary. The dialog allows you to display details only for the file that generated the associated "gcno"/"gcda" file or to display results for all "gcno"/"gcda" files which are part of source files used in a binary executable.</p>
+ <p>
<img border="0" src="images/Gcov-binary-file.png"/>
</p><hr/>
<table class="navigation" style="width: 100%;" border="0" summary="navigation">
@@ -51,7 +51,7 @@
</a>
</td>
<td style="width: 20%" align="right">
- <a href="Gcov-main-view.html" title="Gcov main view">
+ <a href="Profiling-Code-Coverage.html" title="Profiling Code Coverage">
<img alt="Next" border="0" src="../../../images/next.gif"/>
</a>
</td>
@@ -59,7 +59,7 @@
<tr>
<td style="width: 20%" align="left" valign="top">Installation and Set-Up</td>
<td style="width: 60%" align="center"></td>
- <td style="width: 20%" align="right" valign="top">Gcov main view</td>
+ <td style="width: 20%" align="right" valign="top">Profiling Code Coverage</td>
</tr>
</table>
</body>
diff --git a/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/Profiling-Code-Coverage.html b/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/Profiling-Code-Coverage.html
new file mode 100644
index 0000000000..72e4d04841
--- /dev/null
+++ b/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/Profiling-Code-Coverage.html
@@ -0,0 +1,66 @@
+<?xml version='1.0' encoding='utf-8' ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <title>GCov Plug-in User Guide - Profiling Code Coverage</title>
+ <link type="text/css" rel="stylesheet" href="../../../book.css"/>
+ </head>
+ <body>
+ <table class="navigation" style="width: 100%;" border="0" summary="navigation">
+ <tr>
+ <th style="width: 100%" align="center" colspan="3">Profiling Code Coverage</th>
+ </tr>
+ <tr>
+ <td style="width: 20%" align="left">
+ <a href="Opening-gcov-result.html" title="Opening gcov result">
+ <img alt="Previous" border="0" src="../../../images/prev.gif"/>
+ </a>
+ </td>
+ <td style="width: 60%" align="center"></td>
+ <td style="width: 20%" align="right">
+ <a href="Gcov-main-view.html" title="Gcov main view">
+ <img alt="Next" border="0" src="../../../images/next.gif"/>
+ </a>
+ </td>
+ </tr>
+ <tr>
+ <td style="width: 20%" align="left" valign="top">Opening gcov result</td>
+ <td style="width: 60%" align="center"></td>
+ <td style="width: 20%" align="right" valign="top">Gcov main view</td>
+ </tr>
+ </table><hr/>
+ <h1 id="Profiling_Code_Coverage">Profiling Code Coverage</h1>
+ <p>Another way to bring up the gcov view is to profile your executable using Profiling Tools-&gt;Profile Code Coverage. This assumes that the executable has been set up to build with the proper compilation flags.</p>
+ <p>
+ <img border="0" src="images/LinuxToolsGcovProfilingTools.png"/>
+ </p>
+ <p>You can also specify the Gcov tool as the profiling tool of choice for Profile as...-&gt;Local C/C++ Application using the Profiler tab.</p>
+ <p>
+ <img border="0" src="images/LinuxToolsProfileAsGcov.png"/>
+ </p><hr/>
+ <table class="navigation" style="width: 100%;" border="0" summary="navigation">
+ <tr>
+ <td style="width: 20%" align="left">
+ <a href="Opening-gcov-result.html" title="Opening gcov result">
+ <img alt="Previous" border="0" src="../../../images/prev.gif"/>
+ </a>
+ </td>
+ <td style="width: 60%" align="center">
+ <a href="User-Guide.html" title="GCov Plug-in User Guide">
+ <img alt="GCov Plug-in User Guide" border="0" src="../../../images/home.gif"/>
+ </a>
+ </td>
+ <td style="width: 20%" align="right">
+ <a href="Gcov-main-view.html" title="Gcov main view">
+ <img alt="Next" border="0" src="../../../images/next.gif"/>
+ </a>
+ </td>
+ </tr>
+ <tr>
+ <td style="width: 20%" align="left" valign="top">Opening gcov result</td>
+ <td style="width: 60%" align="center"></td>
+ <td style="width: 20%" align="right" valign="top">Gcov main view</td>
+ </tr>
+ </table>
+ </body>
+</html> \ No newline at end of file
diff --git a/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/User-Guide.html b/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/User-Guide.html
index 2f818d11e3..5c01b90aed 100644
--- a/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/User-Guide.html
+++ b/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/User-Guide.html
@@ -25,7 +25,6 @@
<td style="width: 20%" align="right" valign="top">Installation and Set-Up</td>
</tr>
</table><hr/>
- <p>{{#eclipseproject:tools.linuxtools}}</p>
<h1 id="Overview">Overview</h1>
<p>The Gcov plugin allows to visualize in eclipse gcov's output (aka *.gcda/*.gcno files).</p>
<p>For more details on gcov, visit the GNU GCov documentation at
diff --git a/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/images/LinuxToolsGcovAnnotatedSource.png b/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/images/LinuxToolsGcovAnnotatedSource.png
new file mode 100644
index 0000000000..cd44df6a7f
--- /dev/null
+++ b/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/images/LinuxToolsGcovAnnotatedSource.png
Binary files differ
diff --git a/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/images/LinuxToolsGcovProfilingTools.png b/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/images/LinuxToolsGcovProfilingTools.png
new file mode 100644
index 0000000000..b32e6ee7ff
--- /dev/null
+++ b/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/images/LinuxToolsGcovProfilingTools.png
Binary files differ
diff --git a/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/images/LinuxToolsGcovView.png b/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/images/LinuxToolsGcovView.png
new file mode 100644
index 0000000000..b1c9863d23
--- /dev/null
+++ b/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/images/LinuxToolsGcovView.png
Binary files differ
diff --git a/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/images/LinuxToolsProfileAsGcov.png b/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/images/LinuxToolsProfileAsGcov.png
new file mode 100644
index 0000000000..0dfa2e7799
--- /dev/null
+++ b/gcov/org.eclipse.linuxtools.gcov.docs/Linux_Tools_Project/GCov/User_Guide/images/LinuxToolsProfileAsGcov.png
Binary files differ
diff --git a/gcov/org.eclipse.linuxtools.gcov.docs/toc.xml b/gcov/org.eclipse.linuxtools.gcov.docs/toc.xml
index 53edcff272..603e401e10 100644
--- a/gcov/org.eclipse.linuxtools.gcov.docs/toc.xml
+++ b/gcov/org.eclipse.linuxtools.gcov.docs/toc.xml
@@ -4,6 +4,7 @@
<topic href="Linux_Tools_Project/GCov/User_Guide/User-Guide.html" label="Overview"></topic>
<topic href="Linux_Tools_Project/GCov/User_Guide/Installation-and-Set-Up.html" label="Installation and Set-Up"></topic>
<topic href="Linux_Tools_Project/GCov/User_Guide/Opening-gcov-result.html" label="Opening gcov result"></topic>
+ <topic href="Linux_Tools_Project/GCov/User_Guide/Profiling-Code-Coverage.html" label="Profiling Code Coverage"></topic>
<topic href="Linux_Tools_Project/GCov/User_Guide/Gcov-main-view.html" label="Gcov main view"></topic>
<topic href="Linux_Tools_Project/GCov/User_Guide/Troubleshooting.html" label="Troubleshooting"></topic>
<topic href="Linux_Tools_Project/GCov/User_Guide/Updating-This-Document.html" label="Updating This Document"></topic>

Back to the top