summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorDaniel Henrique Barboza2011-06-22 13:36:31 (EDT)
committer Andrew Overholt2011-06-22 16:17:58 (EDT)
commitcdd81a6ee600ef97e14fa191743415ea6457f576 (patch)
tree5afd7bf35825b25d5d3e1839f854f2437452f390
parentba97abd262d0cf255c0ad435c89a42fc613c785c (diff)
downloadorg.eclipse.linuxtools-cdd81a6ee600ef97e14fa191743415ea6457f576.zip
org.eclipse.linuxtools-cdd81a6ee600ef97e14fa191743415ea6457f576.tar.gz
org.eclipse.linuxtools-cdd81a6ee600ef97e14fa191743415ea6457f576.tar.bz2
danielhb@br.ibm.com: Contributing Helgrind tests plug-in.
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/.classpath7
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/.project34
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/META-INF/MANIFEST.MF32
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/about.html26
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/build.properties10
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/plugin.properties3
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/.cproject411
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/.project81
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/test suppfile.supp15
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/test.c19
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/testsuppfile.supp15
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/testsuppfile2.supp15
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/cpptest/.cproject927
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/cpptest/.project82
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/cpptest/cpptest.cpp54
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/cpptest/cpptest.h23
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/multiProcTest/.cproject577
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/multiProcTest/.project83
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/multiProcTest/parent.cpp42
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/AbstractHelgrindTest.java29
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/AllTests.java32
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/BasicHelgrindTest.java36
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/DoubleClickTest.java151
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/ExpandCollapseTest.java89
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/HelgrindTestsPlugin.java60
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/LaunchConfigTabTest.java167
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/test.xml54
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testBranchSim/template_cachegrind_5190.txt250
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testD1Cache/template_cachegrind_5300.txt250
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testDefaults/template_cachegrind_5885.txt250
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testDoubleClickFile/template_cachegrind_4919.txt250
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testDoubleClickFunction/template_cachegrind_5031.txt250
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testExec/template_cachegrind_5774.txt244
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testExec/template_cachegrind_5779.txt250
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testFileLabelsCPP/template_cachegrind_4644.txt250
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testFileLabelsH/template_cachegrind_4699.txt250
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testFileNames/template_cachegrind_4534.txt250
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testFunctionLabel/template_cachegrind_4754.txt250
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testI1Cache/template_cachegrind_5245.txt250
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testL2Cache/template_cachegrind_5355.txt250
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testMethodLabel/template_cachegrind_4809.txt250
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testNestedMethodLabel/template_cachegrind_4864.txt250
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testNoExec/template_cachegrind_5670.txt244
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testNumFunctions/template_cachegrind_4589.txt250
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testNumPIDs/template_cachegrind_4478.txt250
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.test-feature/feature.xml7
-rw-r--r--valgrind/pom.xml1
48 files changed, 7577 insertions, 0 deletions
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/.classpath b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/.classpath
new file mode 100644
index 0000000..64c5e31
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/.project b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/.project
new file mode 100644
index 0000000..047944f
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/.project
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.linuxtools.valgrind.helgrind.tests</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
+ </natures>
+</projectDescription>
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/.settings/org.eclipse.jdt.core.prefs b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..f15f655
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+#Thu Mar 12 10:51:52 EDT 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/META-INF/MANIFEST.MF b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..cea909e
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/META-INF/MANIFEST.MF
@@ -0,0 +1,32 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %Bundle-Name.0
+Bundle-SymbolicName: org.eclipse.linuxtools.valgrind.helgrind.tests
+Bundle-Version: 0.7.0.qualifier
+Bundle-Activator: org.eclipse.linuxtools.internal.valgrind.helgrind.tests.HelgrindTestsPlugin
+Bundle-Vendor: %Bundle-Vendor.0
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.junit;bundle-version="4.7.0"
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-ActivationPolicy: lazy
+Bundle-Localization: plugin
+Import-Package: org.eclipse.cdt.core.model,
+ org.eclipse.cdt.ui,
+ org.eclipse.core.resources,
+ org.eclipse.debug.core,
+ org.eclipse.debug.core.model,
+ org.eclipse.debug.ui,
+ org.eclipse.jface.text,
+ org.eclipse.linuxtools.internal.valgrind.core,
+ org.eclipse.linuxtools.internal.valgrind.helgrind,
+ org.eclipse.linuxtools.internal.valgrind.launch,
+ org.eclipse.linuxtools.internal.valgrind.tests,
+ org.eclipse.linuxtools.internal.valgrind.ui,
+ org.eclipse.linuxtools.profiling.tests,
+ org.eclipse.linuxtools.valgrind.core,
+ org.eclipse.linuxtools.valgrind.launch,
+ org.eclipse.linuxtools.valgrind.ui,
+ org.eclipse.ui,
+ org.eclipse.ui.texteditor
+Export-Package: org.eclipse.linuxtools.internal.valgrind.helgrind.tests
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/about.html b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/about.html
new file mode 100644
index 0000000..e6a2741
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/about.html
@@ -0,0 +1,26 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head>
+
+
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>About</title>
+</head><body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>October 24, 2008</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, "Program" will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party ("Redistributor") and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body></html> \ No newline at end of file
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/build.properties b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/build.properties
new file mode 100644
index 0000000..1185229
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/build.properties
@@ -0,0 +1,10 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ plugin.properties,\
+ resources/,\
+ about.html,\
+ valgrindFiles/,\
+ test.xml
+
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/plugin.properties b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/plugin.properties
new file mode 100644
index 0000000..d4d25f6
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/plugin.properties
@@ -0,0 +1,3 @@
+#Properties file for org.eclipse.linuxtools.valgrind.helgrind.tests
+Bundle-Vendor.0 = Eclipse Linux Tools
+Bundle-Name.0 = Helgrind Tests Plug-in (Incubation) \ No newline at end of file
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/.cproject b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/.cproject
new file mode 100644
index 0000000..c0e6feb
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/.cproject
@@ -0,0 +1,411 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?fileVersion 4.0.0?>
+
+<cproject>
+<storageModule moduleId="org.eclipse.cdt.core.settings">
+<cconfiguration id="cdt.managedbuild.config.gnu.exe.debug.649871688">
+<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.debug.649871688" moduleId="org.eclipse.cdt.core.settings" name="Debug">
+<externalSettings/>
+<extensions>
+<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+<extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+</extensions>
+</storageModule>
+<storageModule moduleId="cdtBuildSystem" version="4.0.0">
+<configuration artifactName="basicTest" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.exe.debug.649871688" name="Debug" parent="cdt.managedbuild.config.gnu.exe.debug">
+<folderInfo id="cdt.managedbuild.config.gnu.exe.debug.649871688." name="/" resourcePath="">
+<toolChain id="cdt.managedbuild.toolchain.gnu.exe.debug.1340452792" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.debug">
+<targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.debug.1875345027" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.debug"/>
+<builder buildPath="${workspace_loc:/basicTest/Debug}" id="cdt.managedbuild.target.gnu.builder.exe.debug.79829838" managedBuildOn="true" name="Gnu Make Builder.Debug" superClass="cdt.managedbuild.target.gnu.builder.exe.debug"/>
+<tool id="cdt.managedbuild.tool.gnu.archiver.base.1575906818" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
+<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.1851897685" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug">
+<option id="gnu.cpp.compiler.exe.debug.option.optimization.level.685458434" superClass="gnu.cpp.compiler.exe.debug.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
+<option id="gnu.cpp.compiler.exe.debug.option.debugging.level.837373470" superClass="gnu.cpp.compiler.exe.debug.option.debugging.level" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
+</tool>
+<tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.debug.1252345087" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.debug">
+<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.exe.debug.option.optimization.level.1005189089" superClass="gnu.c.compiler.exe.debug.option.optimization.level" valueType="enumerated"/>
+<option id="gnu.c.compiler.exe.debug.option.debugging.level.731124369" superClass="gnu.c.compiler.exe.debug.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
+</tool>
+<tool id="cdt.managedbuild.tool.gnu.c.linker.exe.debug.53605538" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.debug"/>
+<tool id="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug.2512170" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug"/>
+<tool id="cdt.managedbuild.tool.gnu.assembler.exe.debug.1191248801" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.debug"/>
+</toolChain>
+</folderInfo>
+</configuration>
+</storageModule>
+<storageModule moduleId="scannerConfiguration">
+<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="makefileGenerator">
+<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.649871688;cdt.managedbuild.config.gnu.exe.debug.649871688.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.1252345087;cdt.managedbuild.tool.gnu.c.compiler.input.57101732">
+<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="makefileGenerator">
+<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+</scannerConfigBuildInfo>
+</storageModule>
+<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+</cconfiguration>
+<cconfiguration id="cdt.managedbuild.config.gnu.exe.release.95598019">
+<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.release.95598019" moduleId="org.eclipse.cdt.core.settings" name="Release">
+<externalSettings/>
+<extensions>
+<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+<extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+</extensions>
+</storageModule>
+<storageModule moduleId="cdtBuildSystem" version="4.0.0">
+<configuration artifactName="basicTest" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.exe.release.95598019" name="Release" parent="cdt.managedbuild.config.gnu.exe.release">
+<folderInfo id="cdt.managedbuild.config.gnu.exe.release.95598019." name="/" resourcePath="">
+<toolChain id="cdt.managedbuild.toolchain.gnu.exe.release.556534156" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.release">
+<targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.release.1432253489" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.release"/>
+<builder buildPath="${workspace_loc:/basicTest/Release}" id="cdt.managedbuild.target.gnu.builder.exe.release.86044677" managedBuildOn="true" name="Gnu Make Builder.Release" superClass="cdt.managedbuild.target.gnu.builder.exe.release"/>
+<tool id="cdt.managedbuild.tool.gnu.archiver.base.380218532" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
+<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.1336150252" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release">
+<option id="gnu.cpp.compiler.exe.release.option.optimization.level.1530081485" superClass="gnu.cpp.compiler.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
+<option id="gnu.cpp.compiler.exe.release.option.debugging.level.1882701448" superClass="gnu.cpp.compiler.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
+</tool>
+<tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.release.1842425540" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.release">
+<option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.exe.release.option.optimization.level.804271624" superClass="gnu.c.compiler.exe.release.option.optimization.level" valueType="enumerated"/>
+<option id="gnu.c.compiler.exe.release.option.debugging.level.619490" superClass="gnu.c.compiler.exe.release.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/>
+</tool>
+<tool id="cdt.managedbuild.tool.gnu.c.linker.exe.release.667050199" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.release"/>
+<tool id="cdt.managedbuild.tool.gnu.cpp.linker.exe.release.1138839544" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.release"/>
+<tool id="cdt.managedbuild.tool.gnu.assembler.exe.release.1366017747" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.release"/>
+</toolChain>
+</folderInfo>
+</configuration>
+</storageModule>
+<storageModule moduleId="scannerConfiguration">
+<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="makefileGenerator">
+<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.649871688;cdt.managedbuild.config.gnu.exe.debug.649871688.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.1252345087;cdt.managedbuild.tool.gnu.c.compiler.input.57101732">
+<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="makefileGenerator">
+<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+</scannerConfigBuildInfo>
+</storageModule>
+</cconfiguration>
+</storageModule>
+<storageModule moduleId="cdtBuildSystem" version="4.0.0">
+<project id="basicTest.cdt.managedbuild.target.gnu.exe.502775223" name="Executable" projectType="cdt.managedbuild.target.gnu.exe"/>
+</storageModule>
+</cproject>
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/.project b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/.project
new file mode 100644
index 0000000..6671812
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/.project
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>basicTest</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
+ <triggers>clean,full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>?name?</key>
+ <value></value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.append_environment</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.autoBuildTarget</key>
+ <value>all</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.buildArguments</key>
+ <value></value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.buildCommand</key>
+ <value>make</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.buildLocation</key>
+ <value>${workspace_loc:/basicTest/Debug}</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
+ <value>clean</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.contents</key>
+ <value>org.eclipse.cdt.make.core.activeConfigSettings</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.enableAutoBuild</key>
+ <value>false</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.enableCleanBuild</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.enableFullBuild</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.fullBuildTarget</key>
+ <value>all</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.stopOnError</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
+ <value>true</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
+ <nature>org.eclipse.cdt.core.cnature</nature>
+ </natures>
+</projectDescription>
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/test suppfile.supp b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/test suppfile.supp
new file mode 100644
index 0000000..a3d6877
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/test suppfile.supp
@@ -0,0 +1,15 @@
+#################################################################################
+## Copyright (c) 2008 Red Hat, Inc.
+## All rights reserved. This program and the accompanying materials
+## are made available under the terms of the Eclipse Public License v1.0
+## which accompanies this distribution, and is available at
+## http://www.eclipse.org/legal/epl-v10.html
+##
+## Contributors:
+## Elliott Baron <ebaron@redhat.com> - initial API and implementation
+#################################################################################
+{
+ test
+ Memcheck:Value4
+ fun:*
+} \ No newline at end of file
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/test.c b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/test.c
new file mode 100644
index 0000000..b70783f
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/test.c
@@ -0,0 +1,19 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Red Hat, Inc.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Elliott Baron <ebaron@redhat.com> - initial API and implementation
+ *******************************************************************************/
+#include <stdlib.h>
+
+#define SIZE 10
+int main() {
+ char *waste = (char *)malloc(sizeof(char) * SIZE);
+ waste[0] = waste[SIZE];
+ waste[SIZE] = 0;
+ return 0;
+}
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/testsuppfile.supp b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/testsuppfile.supp
new file mode 100644
index 0000000..a3d6877
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/testsuppfile.supp
@@ -0,0 +1,15 @@
+#################################################################################
+## Copyright (c) 2008 Red Hat, Inc.
+## All rights reserved. This program and the accompanying materials
+## are made available under the terms of the Eclipse Public License v1.0
+## which accompanies this distribution, and is available at
+## http://www.eclipse.org/legal/epl-v10.html
+##
+## Contributors:
+## Elliott Baron <ebaron@redhat.com> - initial API and implementation
+#################################################################################
+{
+ test
+ Memcheck:Value4
+ fun:*
+} \ No newline at end of file
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/testsuppfile2.supp b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/testsuppfile2.supp
new file mode 100644
index 0000000..a3d6877
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/basicTest/testsuppfile2.supp
@@ -0,0 +1,15 @@
+#################################################################################
+## Copyright (c) 2008 Red Hat, Inc.
+## All rights reserved. This program and the accompanying materials
+## are made available under the terms of the Eclipse Public License v1.0
+## which accompanies this distribution, and is available at
+## http://www.eclipse.org/legal/epl-v10.html
+##
+## Contributors:
+## Elliott Baron <ebaron@redhat.com> - initial API and implementation
+#################################################################################
+{
+ test
+ Memcheck:Value4
+ fun:*
+} \ No newline at end of file
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/cpptest/.cproject b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/cpptest/.cproject
new file mode 100644
index 0000000..08a4ce3
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/cpptest/.cproject
@@ -0,0 +1,927 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?fileVersion 4.0.0?>
+
+<cproject>
+<storageModule moduleId="org.eclipse.cdt.core.settings">
+<cconfiguration id="cdt.managedbuild.config.gnu.exe.debug.1463910690">
+<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.debug.1463910690" moduleId="org.eclipse.cdt.core.settings" name="Debug">
+<externalSettings/>
+<extensions>
+<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+<extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+</extensions>
+</storageModule>
+<storageModule moduleId="cdtBuildSystem" version="4.0.0">
+<configuration artifactName="cpptest" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.exe.debug.1463910690" name="Debug" parent="cdt.managedbuild.config.gnu.exe.debug">
+<folderInfo id="cdt.managedbuild.config.gnu.exe.debug.1463910690." name="/" resourcePath="">
+<toolChain id="cdt.managedbuild.toolchain.gnu.exe.debug.149960898" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.debug">
+<targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.debug.1500334364" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.debug"/>
+<builder buildPath="${workspace_loc:/cpptest/Debug}" id="cdt.managedbuild.target.gnu.builder.exe.debug.328121746" managedBuildOn="true" name="Gnu Make Builder.Debug" superClass="cdt.managedbuild.target.gnu.builder.exe.debug"/>
+<tool id="cdt.managedbuild.tool.gnu.archiver.base.1298736048" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
+<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.1953407560" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug">
+<option id="gnu.cpp.compiler.exe.debug.option.optimization.level.1473633174" superClass="gnu.cpp.compiler.exe.debug.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
+<option id="gnu.cpp.compiler.exe.debug.option.debugging.level.1312827060" superClass="gnu.cpp.compiler.exe.debug.option.debugging.level" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
+<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.968970650" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
+</tool>
+<tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.debug.652886580" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.debug">
+<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.exe.debug.option.optimization.level.971220945" superClass="gnu.c.compiler.exe.debug.option.optimization.level" valueType="enumerated"/>
+<option id="gnu.c.compiler.exe.debug.option.debugging.level.441208182" superClass="gnu.c.compiler.exe.debug.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
+<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.957338308" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
+</tool>
+<tool id="cdt.managedbuild.tool.gnu.c.linker.exe.debug.934477526" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.debug"/>
+<tool id="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug.278234789" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug">
+<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1399405690" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
+<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
+<additionalInput kind="additionalinput" paths="$(LIBS)"/>
+</inputType>
+</tool>
+<tool id="cdt.managedbuild.tool.gnu.assembler.exe.debug.1699028925" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.debug">
+<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1876371051" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
+</tool>
+</toolChain>
+</folderInfo>
+</configuration>
+</storageModule>
+<storageModule moduleId="scannerConfiguration">
+<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="makefileGenerator">
+<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.1753505102;cdt.managedbuild.config.gnu.exe.release.1753505102.;cdt.managedbuild.tool.gnu.c.compiler.exe.release.275019146;cdt.managedbuild.tool.gnu.c.compiler.input.1753556205">
+<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="makefileGenerator">
+<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+</scannerConfigBuildInfo>
+<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1463910690;cdt.managedbuild.config.gnu.exe.debug.1463910690.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.652886580;cdt.managedbuild.tool.gnu.c.compiler.input.957338308">
+<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="makefileGenerator">
+<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+</scannerConfigBuildInfo>
+<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.1753505102;cdt.managedbuild.config.gnu.exe.release.1753505102.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.456235642;cdt.managedbuild.tool.gnu.cpp.compiler.input.340493281">
+<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="makefileGenerator">
+<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+</scannerConfigBuildInfo>
+<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1463910690;cdt.managedbuild.config.gnu.exe.debug.1463910690.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.1953407560;cdt.managedbuild.tool.gnu.cpp.compiler.input.968970650">
+<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="makefileGenerator">
+<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+</scannerConfigBuildInfo>
+</storageModule>
+<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+</cconfiguration>
+<cconfiguration id="cdt.managedbuild.config.gnu.exe.release.1753505102">
+<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.release.1753505102" moduleId="org.eclipse.cdt.core.settings" name="Release">
+<externalSettings/>
+<extensions>
+<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+<extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+</extensions>
+</storageModule>
+<storageModule moduleId="cdtBuildSystem" version="4.0.0">
+<configuration artifactName="cpptest" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.exe.release.1753505102" name="Release" parent="cdt.managedbuild.config.gnu.exe.release">
+<folderInfo id="cdt.managedbuild.config.gnu.exe.release.1753505102." name="/" resourcePath="">
+<toolChain id="cdt.managedbuild.toolchain.gnu.exe.release.385921575" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.release">
+<targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.release.366626344" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.release"/>
+<builder buildPath="${workspace_loc:/cpptest/Release}" id="cdt.managedbuild.target.gnu.builder.exe.release.1887182313" managedBuildOn="true" name="Gnu Make Builder.Release" superClass="cdt.managedbuild.target.gnu.builder.exe.release"/>
+<tool id="cdt.managedbuild.tool.gnu.archiver.base.368404610" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
+<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.456235642" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release">
+<option id="gnu.cpp.compiler.exe.release.option.optimization.level.1052231562" superClass="gnu.cpp.compiler.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
+<option id="gnu.cpp.compiler.exe.release.option.debugging.level.1912250672" superClass="gnu.cpp.compiler.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
+<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.340493281" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
+</tool>
+<tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.release.275019146" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.release">
+<option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.exe.release.option.optimization.level.1405936688" superClass="gnu.c.compiler.exe.release.option.optimization.level" valueType="enumerated"/>
+<option id="gnu.c.compiler.exe.release.option.debugging.level.355786697" superClass="gnu.c.compiler.exe.release.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/>
+<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1753556205" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
+</tool>
+<tool id="cdt.managedbuild.tool.gnu.c.linker.exe.release.176412242" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.release"/>
+<tool id="cdt.managedbuild.tool.gnu.cpp.linker.exe.release.1791495231" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.release">
+<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.862229990" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
+<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
+<additionalInput kind="additionalinput" paths="$(LIBS)"/>
+</inputType>
+</tool>
+<tool id="cdt.managedbuild.tool.gnu.assembler.exe.release.1904268286" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.release">
+<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1462248242" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
+</tool>
+</toolChain>
+</folderInfo>
+</configuration>
+</storageModule>
+<storageModule moduleId="scannerConfiguration">
+<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="makefileGenerator">
+<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.1753505102;cdt.managedbuild.config.gnu.exe.release.1753505102.;cdt.managedbuild.tool.gnu.c.compiler.exe.release.275019146;cdt.managedbuild.tool.gnu.c.compiler.input.1753556205">
+<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="makefileGenerator">
+<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+</scannerConfigBuildInfo>
+<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1463910690;cdt.managedbuild.config.gnu.exe.debug.1463910690.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.652886580;cdt.managedbuild.tool.gnu.c.compiler.input.957338308">
+<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="makefileGenerator">
+<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+</scannerConfigBuildInfo>
+<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.1753505102;cdt.managedbuild.config.gnu.exe.release.1753505102.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.456235642;cdt.managedbuild.tool.gnu.cpp.compiler.input.340493281">
+<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="makefileGenerator">
+<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+</scannerConfigBuildInfo>
+<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1463910690;cdt.managedbuild.config.gnu.exe.debug.1463910690.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.1953407560;cdt.managedbuild.tool.gnu.cpp.compiler.input.968970650">
+<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="makefileGenerator">
+<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+</scannerConfigBuildInfo>
+</storageModule>
+</cconfiguration>
+</storageModule>
+<storageModule moduleId="cdtBuildSystem" version="4.0.0">
+<project id="cpptest.cdt.managedbuild.target.gnu.exe.1242136619" name="Executable" projectType="cdt.managedbuild.target.gnu.exe"/>
+</storageModule>
+</cproject>
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/cpptest/.project b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/cpptest/.project
new file mode 100644
index 0000000..0c43235
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/cpptest/.project
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>cpptest</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
+ <triggers>clean,full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>?name?</key>
+ <value></value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.append_environment</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.autoBuildTarget</key>
+ <value>all</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.buildArguments</key>
+ <value></value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.buildCommand</key>
+ <value>make</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.buildLocation</key>
+ <value>${workspace_loc:/cpptest/Debug}</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
+ <value>clean</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.contents</key>
+ <value>org.eclipse.cdt.make.core.activeConfigSettings</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.enableAutoBuild</key>
+ <value>false</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.enableCleanBuild</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.enableFullBuild</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.fullBuildTarget</key>
+ <value>all</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.stopOnError</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
+ <value>true</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.cdt.core.ccnature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
+ <nature>org.eclipse.cdt.core.cnature</nature>
+ </natures>
+</projectDescription>
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/cpptest/cpptest.cpp b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/cpptest/cpptest.cpp
new file mode 100644
index 0000000..bd52aef
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/cpptest/cpptest.cpp
@@ -0,0 +1,54 @@
+/*******************************************************************************
+ * Copyright (c) 2009 Red Hat, Inc.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Elliott Baron <ebaron@redhat.com> - initial API and implementation
+ *******************************************************************************/
+#include "cpptest.h"
+
+int x = 3;
+
+class A {
+public:
+ A() : y(6) {}
+ int c() {
+ B b = B();
+ b.d();
+ return b.x + y;
+ }
+private:
+ class B {
+ public:
+ B() : x(5) {}
+ void d() {
+ x++;
+ e();
+ }
+ int x;
+ private:
+ void e() {
+ x--;
+ }
+ };
+ int y;
+};
+
+int Foo::bar(int z) {
+ return x + baz(y, z);
+}
+
+int Foo::baz(int a, int b) {
+ return a + b;
+}
+
+int main(int argc, char **argv) {
+ Foo f = Foo();
+ A a = A();
+ f.bar(5);
+ a.c();
+ return 0;
+}
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/cpptest/cpptest.h b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/cpptest/cpptest.h
new file mode 100644
index 0000000..2f82087
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/cpptest/cpptest.h
@@ -0,0 +1,23 @@
+/*******************************************************************************
+ * Copyright (c) 2009 Red Hat, Inc.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Elliott Baron <ebaron@redhat.com> - initial API and implementation
+ *******************************************************************************/
+#ifndef CPPTEST_H_
+#define CPPTEST_H_
+
+class Foo {
+public:
+ Foo() : y(4) {}
+ int bar(int);
+private:
+ int baz(int, int);
+ int y;
+};
+
+#endif /* CPPTEST_H_ */
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/multiProcTest/.cproject b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/multiProcTest/.cproject
new file mode 100644
index 0000000..42551e0
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/multiProcTest/.cproject
@@ -0,0 +1,577 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?fileVersion 4.0.0?>
+
+<cproject>
+<storageModule moduleId="org.eclipse.cdt.core.settings">
+<cconfiguration id="cdt.managedbuild.config.gnu.exe.debug.1403986992">
+<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.debug.1403986992" moduleId="org.eclipse.cdt.core.settings" name="Debug">
+<externalSettings/>
+<extensions>
+<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+<extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+</extensions>
+</storageModule>
+<storageModule moduleId="cdtBuildSystem" version="4.0.0">
+<configuration artifactName="multiProcTest" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.exe.debug.1403986992" name="Debug" parent="cdt.managedbuild.config.gnu.exe.debug">
+<folderInfo id="cdt.managedbuild.config.gnu.exe.debug.1403986992." name="/" resourcePath="">
+<toolChain id="cdt.managedbuild.toolchain.gnu.exe.debug.278021374" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.debug">
+<targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.debug.89398874" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.debug"/>
+<builder buildPath="${workspace_loc:/multiProcTest/Debug}" id="cdt.managedbuild.target.gnu.builder.exe.debug.408442332" managedBuildOn="true" name="Gnu Make Builder.Debug" superClass="cdt.managedbuild.target.gnu.builder.exe.debug"/>
+<tool id="cdt.managedbuild.tool.gnu.archiver.base.2144670746" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
+<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.308805987" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug">
+<option id="gnu.cpp.compiler.exe.debug.option.optimization.level.1510340022" superClass="gnu.cpp.compiler.exe.debug.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
+<option id="gnu.cpp.compiler.exe.debug.option.debugging.level.1758201535" superClass="gnu.cpp.compiler.exe.debug.option.debugging.level" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
+</tool>
+<tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.debug.1518367575" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.debug">
+<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.exe.debug.option.optimization.level.684491426" superClass="gnu.c.compiler.exe.debug.option.optimization.level" valueType="enumerated"/>
+<option id="gnu.c.compiler.exe.debug.option.debugging.level.1940432447" superClass="gnu.c.compiler.exe.debug.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
+</tool>
+<tool id="cdt.managedbuild.tool.gnu.c.linker.exe.debug.1656745772" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.debug"/>
+<tool id="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug.191481253" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug"/>
+<tool id="cdt.managedbuild.tool.gnu.assembler.exe.debug.1051360222" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.debug"/>
+</toolChain>
+</folderInfo>
+</configuration>
+</storageModule>
+<storageModule moduleId="scannerConfiguration">
+<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="makefileGenerator">
+<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1403986992;cdt.managedbuild.config.gnu.exe.debug.1403986992.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.1518367575;cdt.managedbuild.tool.gnu.c.compiler.input.1512497663">
+<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="makefileGenerator">
+<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+</scannerConfigBuildInfo>
+<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1403986992;cdt.managedbuild.config.gnu.exe.debug.1403986992.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.308805987;cdt.managedbuild.tool.gnu.cpp.compiler.input.406930381">
+<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="makefileGenerator">
+<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+</scannerConfigBuildInfo>
+</storageModule>
+<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+</cconfiguration>
+<cconfiguration id="cdt.managedbuild.config.gnu.exe.release.206269348">
+<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.release.206269348" moduleId="org.eclipse.cdt.core.settings" name="Release">
+<externalSettings/>
+<extensions>
+<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+<extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+</extensions>
+</storageModule>
+<storageModule moduleId="cdtBuildSystem" version="4.0.0">
+<configuration artifactName="multiProcTest" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.exe.release.206269348" name="Release" parent="cdt.managedbuild.config.gnu.exe.release">
+<folderInfo id="cdt.managedbuild.config.gnu.exe.release.206269348." name="/" resourcePath="">
+<toolChain id="cdt.managedbuild.toolchain.gnu.exe.release.1614180026" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.release">
+<targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.release.680850049" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.release"/>
+<builder buildPath="${workspace_loc:/multiProcTest/Release}" id="cdt.managedbuild.target.gnu.builder.exe.release.1001753861" managedBuildOn="true" name="Gnu Make Builder.Release" superClass="cdt.managedbuild.target.gnu.builder.exe.release"/>
+<tool id="cdt.managedbuild.tool.gnu.archiver.base.1866479351" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
+<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.1048530434" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release">
+<option id="gnu.cpp.compiler.exe.release.option.optimization.level.193324125" superClass="gnu.cpp.compiler.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
+<option id="gnu.cpp.compiler.exe.release.option.debugging.level.65680841" superClass="gnu.cpp.compiler.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
+</tool>
+<tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.release.53104544" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.release">
+<option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.exe.release.option.optimization.level.1277454231" superClass="gnu.c.compiler.exe.release.option.optimization.level" valueType="enumerated"/>
+<option id="gnu.c.compiler.exe.release.option.debugging.level.1754602421" superClass="gnu.c.compiler.exe.release.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/>
+</tool>
+<tool id="cdt.managedbuild.tool.gnu.c.linker.exe.release.790479271" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.release"/>
+<tool id="cdt.managedbuild.tool.gnu.cpp.linker.exe.release.1251386839" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.release"/>
+<tool id="cdt.managedbuild.tool.gnu.assembler.exe.release.1731287201" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.release"/>
+</toolChain>
+</folderInfo>
+</configuration>
+</storageModule>
+<storageModule moduleId="scannerConfiguration">
+<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="makefileGenerator">
+<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1403986992;cdt.managedbuild.config.gnu.exe.debug.1403986992.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.1518367575;cdt.managedbuild.tool.gnu.c.compiler.input.1512497663">
+<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="makefileGenerator">
+<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+</scannerConfigBuildInfo>
+<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1403986992;cdt.managedbuild.config.gnu.exe.debug.1403986992.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.308805987;cdt.managedbuild.tool.gnu.cpp.compiler.input.406930381">
+<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="makefileGenerator">
+<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
+<buildOutputProvider>
+<openAction enabled="true" filePath=""/>
+<parser enabled="true"/>
+</buildOutputProvider>
+<scannerInfoProvider id="specsFile">
+<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+<parser enabled="true"/>
+</scannerInfoProvider>
+</profile>
+</scannerConfigBuildInfo>
+</storageModule>
+</cconfiguration>
+</storageModule>
+<storageModule moduleId="cdtBuildSystem" version="4.0.0">
+<project id="multiProcTest.cdt.managedbuild.target.gnu.exe.962066261" name="Executable" projectType="cdt.managedbuild.target.gnu.exe"/>
+</storageModule>
+</cproject>
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/multiProcTest/.project b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/multiProcTest/.project
new file mode 100644
index 0000000..b7e2857
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/multiProcTest/.project
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>multiProcTest</name>
+ <comment></comment>
+ <projects>
+ <project>cpptest</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
+ <triggers>clean,full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>?name?</key>
+ <value></value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.append_environment</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.autoBuildTarget</key>
+ <value>all</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.buildArguments</key>
+ <value></value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.buildCommand</key>
+ <value>make</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.buildLocation</key>
+ <value>${workspace_loc:/multiProcTest/Debug}</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
+ <value>clean</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.contents</key>
+ <value>org.eclipse.cdt.make.core.activeConfigSettings</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.enableAutoBuild</key>
+ <value>false</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.enableCleanBuild</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.enableFullBuild</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.fullBuildTarget</key>
+ <value>all</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.stopOnError</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
+ <value>true</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.cdt.core.ccnature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
+ <nature>org.eclipse.cdt.core.cnature</nature>
+ </natures>
+</projectDescription>
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/multiProcTest/parent.cpp b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/multiProcTest/parent.cpp
new file mode 100644
index 0000000..6c98605
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/resources/multiProcTest/parent.cpp
@@ -0,0 +1,42 @@
+#include <cstdio>
+#include <unistd.h>
+
+int x = 3;
+
+class A {
+public:
+ A() : y(6) {}
+ int c() {
+ B b = B();
+ b.d();
+ return b.x + y;
+ }
+private:
+ class B {
+ public:
+ B() : x(5) {}
+ void d() {
+ x++;
+ e();
+ }
+ int x;
+ private:
+ void e() {
+ x--;
+ }
+ };
+ int y;
+};
+
+int main() {
+ if (fork()) {
+ A a = A();
+ a.c();
+ }
+ else {
+ execv("../cpptest/Debug/cpptest", NULL);
+ perror("execv");
+ }
+ return 0;
+}
+
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/AbstractHelgrindTest.java b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/AbstractHelgrindTest.java
new file mode 100644
index 0000000..ab80158
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/AbstractHelgrindTest.java
@@ -0,0 +1,29 @@
+/*******************************************************************************
+ * Copyright (c) 2011 IBM Corporation
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Daniel H Barboza <danielhb@br.ibm.com> - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.linuxtools.internal.valgrind.helgrind.tests;
+
+
+import org.eclipse.linuxtools.internal.valgrind.helgrind.HelgrindPlugin;
+import org.eclipse.linuxtools.internal.valgrind.tests.AbstractValgrindTest;
+import org.osgi.framework.Bundle;
+
+public abstract class AbstractHelgrindTest extends AbstractValgrindTest {
+
+ @Override
+ protected Bundle getBundle() {
+ return HelgrindTestsPlugin.getDefault().getBundle();
+ }
+
+ @Override
+ protected String getToolID() {
+ return HelgrindPlugin.TOOL_ID;
+ }
+}
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/AllTests.java b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/AllTests.java
new file mode 100644
index 0000000..10fe842
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/AllTests.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2011 IBM Corporation
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Daniel H Barboza <danielhb@br.ibm.com> - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.linuxtools.internal.valgrind.helgrind.tests;
+
+import org.eclipse.linuxtools.internal.valgrind.helgrind.HelgrindPlugin;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+public class AllTests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite(
+ "Tests for " + HelgrindPlugin.PLUGIN_ID); //$NON-NLS-1$
+ //$JUnit-BEGIN$
+ suite.addTestSuite(BasicHelgrindTest.class);
+ suite.addTestSuite(DoubleClickTest.class);
+ suite.addTestSuite(LaunchConfigTabTest.class);
+ suite.addTestSuite(ExpandCollapseTest.class);
+ //$JUnit-END$
+ return suite;
+ }
+
+}
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/BasicHelgrindTest.java b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/BasicHelgrindTest.java
new file mode 100644
index 0000000..3686679
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/BasicHelgrindTest.java
@@ -0,0 +1,36 @@
+/*******************************************************************************
+ * Copyright (c) 2011 IBM Corporation
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Daniel H Barboza <danielhb@br.ibm.com> - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.linuxtools.internal.valgrind.helgrind.tests;
+
+import org.eclipse.debug.core.ILaunchConfiguration;
+import org.eclipse.linuxtools.internal.valgrind.ui.ValgrindUIPlugin;
+import org.eclipse.linuxtools.internal.valgrind.ui.ValgrindViewPart;
+
+public class BasicHelgrindTest extends AbstractHelgrindTest {
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ proj = createProjectAndBuild("basicTest"); //$NON-NLS-1$
+ }
+
+ protected void tearDown() throws Exception {
+ deleteProject(proj);
+ super.tearDown();
+ }
+
+ public void testNumErrors() throws Exception {
+ ILaunchConfiguration config = createConfiguration(proj.getProject());
+ doLaunch(config, "testNumErrors"); //$NON-NLS-1$
+
+ ValgrindViewPart view = ValgrindUIPlugin.getDefault().getView();
+ assertEquals(3, view.getMessages().length);
+ }
+}
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/DoubleClickTest.java b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/DoubleClickTest.java
new file mode 100644
index 0000000..650cba1
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/DoubleClickTest.java
@@ -0,0 +1,151 @@
+/*******************************************************************************
+ * Copyright (c) 2011 IBM Corporation
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Daniel H Barboza <danielhb@br.ibm.com> - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.linuxtools.internal.valgrind.helgrind.tests;
+
+import java.io.File;
+
+import org.eclipse.debug.core.DebugPlugin;
+import org.eclipse.debug.core.ILaunch;
+import org.eclipse.debug.core.ILaunchConfiguration;
+import org.eclipse.jface.text.TextSelection;
+import org.eclipse.jface.viewers.DoubleClickEvent;
+import org.eclipse.jface.viewers.IDoubleClickListener;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.TreePath;
+import org.eclipse.jface.viewers.TreeSelection;
+import org.eclipse.jface.viewers.TreeViewer;
+import org.eclipse.linuxtools.internal.valgrind.core.ValgrindStackFrame;
+import org.eclipse.linuxtools.internal.valgrind.ui.CoreMessagesViewer;
+import org.eclipse.linuxtools.internal.valgrind.ui.ValgrindUIPlugin;
+import org.eclipse.linuxtools.internal.valgrind.ui.ValgrindViewPart;
+import org.eclipse.linuxtools.valgrind.core.IValgrindMessage;
+import org.eclipse.ui.IEditorInput;
+import org.eclipse.ui.IEditorPart;
+import org.eclipse.ui.IFileEditorInput;
+import org.eclipse.ui.PlatformUI;
+import org.eclipse.ui.texteditor.ITextEditor;
+
+public class DoubleClickTest extends AbstractHelgrindTest {
+ private ValgrindStackFrame frame;
+
+ @Override
+ protected void setUp() throws Exception {
+ super.setUp();
+ proj = createProjectAndBuild("basicTest"); //$NON-NLS-1$
+ }
+
+ private void doDoubleClick() throws Exception {
+ ValgrindViewPart view = ValgrindUIPlugin.getDefault().getView();
+ CoreMessagesViewer viewer = view.getMessagesViewer();
+
+ // get first leaf
+ IValgrindMessage[] elements = (IValgrindMessage[]) viewer.getTreeViewer().getInput();
+ IValgrindMessage element = elements[0];
+ TreePath path = new TreePath(new Object[] { element });
+ frame = null;
+ while (element.getChildren().length > 0) {
+ element = element.getChildren()[0];
+ path = path.createChildPath(element);
+ if (element instanceof ValgrindStackFrame) {
+ frame = (ValgrindStackFrame) element;
+ }
+ }
+ assertNotNull(frame);
+
+ viewer.getTreeViewer().expandToLevel(frame, TreeViewer.ALL_LEVELS);
+ TreeSelection selection = new TreeSelection(path);
+
+ // do double click
+ IDoubleClickListener listener = viewer.getDoubleClickListener();
+ listener.doubleClick(new DoubleClickEvent(viewer.getTreeViewer(), selection));
+ }
+
+ @Override
+ protected void tearDown() throws Exception {
+ deleteProject(proj);
+ super.tearDown();
+ }
+
+ public void testDoubleClickFile() throws Exception {
+ ILaunchConfiguration config = createConfiguration(proj.getProject());
+ doLaunch(config, "testDoubleClickFile"); //$NON-NLS-1$
+
+ doDoubleClick();
+
+ IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
+ IEditorInput input = editor.getEditorInput();
+ if (input instanceof IFileEditorInput) {
+ IFileEditorInput fileInput = (IFileEditorInput) input;
+ File expectedFile = new File(proj.getProject().getLocation().toOSString(), frame.getFile());
+ File actualFile = fileInput.getFile().getLocation().toFile();
+
+ assertEquals(expectedFile.getCanonicalPath(), actualFile.getCanonicalPath());
+ }
+ else {
+ fail();
+ }
+ }
+
+ public void testDoubleClickLine() throws Exception {
+ ILaunchConfiguration config = createConfiguration(proj.getProject());
+ doLaunch(config, "testDoubleClickLine"); //$NON-NLS-1$
+
+ doDoubleClick();
+
+ IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
+ if (editor instanceof ITextEditor) {
+ ITextEditor textEditor = (ITextEditor) editor;
+
+ ISelection selection = textEditor.getSelectionProvider().getSelection();
+ if (selection instanceof TextSelection) {
+ TextSelection textSelection = (TextSelection) selection;
+ int line = textSelection.getStartLine() + 1; // zero-indexed
+
+ assertEquals(frame.getLine(), line);
+ }
+ else {
+ fail();
+ }
+ }
+ else {
+ fail();
+ }
+ }
+
+ public void testDoubleClickLaunchRemoved() throws Exception {
+ ILaunchConfiguration config = createConfiguration(proj.getProject());
+ ILaunch launch = doLaunch(config, "testDoubleClickLine"); //$NON-NLS-1$
+
+ // Remove launch - tests #284919
+ DebugPlugin.getDefault().getLaunchManager().removeLaunch(launch);
+
+ doDoubleClick();
+
+ IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
+ if (editor instanceof ITextEditor) {
+ ITextEditor textEditor = (ITextEditor) editor;
+
+ ISelection selection = textEditor.getSelectionProvider().getSelection();
+ if (selection instanceof TextSelection) {
+ TextSelection textSelection = (TextSelection) selection;
+ int line = textSelection.getStartLine() + 1; // zero-indexed
+
+ assertEquals(frame.getLine(), line);
+ }
+ else {
+ fail();
+ }
+ }
+ else {
+ fail();
+ }
+ }
+}
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/ExpandCollapseTest.java b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/ExpandCollapseTest.java
new file mode 100644
index 0000000..e2f3640
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/ExpandCollapseTest.java
@@ -0,0 +1,89 @@
+/*******************************************************************************
+ * Copyright (c) 2011 IBM Corporation
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Daniel H Barboza <danielhb@br.ibm.com> - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.linuxtools.internal.valgrind.helgrind.tests;
+
+
+import org.eclipse.debug.core.ILaunchConfiguration;
+import org.eclipse.jface.viewers.TreePath;
+import org.eclipse.jface.viewers.TreeSelection;
+import org.eclipse.linuxtools.internal.valgrind.ui.CoreMessagesViewer;
+import org.eclipse.linuxtools.internal.valgrind.ui.ValgrindUIPlugin;
+import org.eclipse.linuxtools.internal.valgrind.ui.ValgrindViewPart;
+import org.eclipse.linuxtools.valgrind.core.IValgrindMessage;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.widgets.Menu;
+
+public class ExpandCollapseTest extends AbstractHelgrindTest {
+
+ protected CoreMessagesViewer viewer;
+ protected Menu contextMenu;
+
+ @Override
+ protected void setUp() throws Exception {
+ super.setUp();
+ proj = createProjectAndBuild("basicTest"); //$NON-NLS-1$
+ }
+
+ @Override
+ protected void tearDown() throws Exception {
+ deleteProject(proj);
+ super.tearDown();
+ }
+
+ public void testExpand() throws Exception {
+ ILaunchConfiguration config = createConfiguration(proj.getProject());
+ doLaunch(config, "testDefaults"); //$NON-NLS-1$
+
+ ValgrindViewPart view = ValgrindUIPlugin.getDefault().getView();
+ viewer = view.getMessagesViewer();
+ contextMenu = viewer.getTreeViewer().getTree().getMenu();
+
+ // Select first error and expand it
+ IValgrindMessage[] messages = (IValgrindMessage[]) viewer.getTreeViewer().getInput();
+ IValgrindMessage element = messages[0];
+ TreeSelection selection = new TreeSelection(new TreePath(new Object[] { element }));
+ viewer.getTreeViewer().setSelection(selection);
+ contextMenu.notifyListeners(SWT.Show, null);
+ contextMenu.getItem(0).notifyListeners(SWT.Selection, null);
+
+ checkExpanded(element, true);
+ }
+
+ public void testCollapse() throws Exception {
+ // Expand the element first
+ testExpand();
+
+ // Then collapse it
+ IValgrindMessage[] messages = (IValgrindMessage[]) viewer.getTreeViewer().getInput();
+ IValgrindMessage element = messages[0];
+ TreeSelection selection = new TreeSelection(new TreePath(new Object[] { element }));
+ viewer.getTreeViewer().setSelection(selection);
+ contextMenu.notifyListeners(SWT.Show, null);
+ contextMenu.getItem(1).notifyListeners(SWT.Selection, null);
+
+ checkExpanded(element, false);
+ }
+
+ private void checkExpanded(IValgrindMessage element, boolean expanded) {
+ if (element.getChildren().length > 0) {
+ // only applicable to internal nodes
+ if (expanded) {
+ assertTrue(viewer.getTreeViewer().getExpandedState(element));
+ }
+ else {
+ assertFalse(viewer.getTreeViewer().getExpandedState(element));
+ }
+ }
+ for (IValgrindMessage child : element.getChildren()) {
+ checkExpanded(child, expanded);
+ }
+ }
+}
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/HelgrindTestsPlugin.java b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/HelgrindTestsPlugin.java
new file mode 100644
index 0000000..9ab6876
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/HelgrindTestsPlugin.java
@@ -0,0 +1,60 @@
+/*******************************************************************************
+ * Copyright (c) 2011 IBM Corporation
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Daniel H Barboza <danielhb@br.ibm.com> - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.linuxtools.internal.valgrind.helgrind.tests;
+
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class HelgrindTestsPlugin extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.eclipse.linuxtools.valgrind.cachegrind.tests"; //$NON-NLS-1$
+
+ // The shared instance
+ private static HelgrindTestsPlugin plugin;
+
+ /**
+ * The constructor
+ */
+ public HelgrindTestsPlugin() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static HelgrindTestsPlugin getDefault() {
+ return plugin;
+ }
+
+}
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/LaunchConfigTabTest.java b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/LaunchConfigTabTest.java
new file mode 100644
index 0000000..173d168
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/src/org/eclipse/linuxtools/internal/valgrind/helgrind/tests/LaunchConfigTabTest.java
@@ -0,0 +1,167 @@
+/*******************************************************************************
+ * Copyright (c) 2011 IBM Corporation
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Daniel H Barboza <danielhb@br.ibm.com> - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.linuxtools.internal.valgrind.helgrind.tests;
+
+import java.util.Arrays;
+
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.debug.core.ILaunch;
+import org.eclipse.debug.core.ILaunchConfiguration;
+import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
+import org.eclipse.debug.core.model.IProcess;
+import org.eclipse.debug.ui.ILaunchConfigurationTab;
+import org.eclipse.linuxtools.internal.valgrind.helgrind.HelgrindPlugin;
+import org.eclipse.linuxtools.internal.valgrind.helgrind.HelgrindToolPage;
+import org.eclipse.linuxtools.internal.valgrind.launch.ValgrindOptionsTab;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Shell;
+
+public class LaunchConfigTabTest extends AbstractHelgrindTest {
+
+ protected ILaunchConfiguration config;
+ protected Shell testShell;
+ protected ValgrindOptionsTab tab;
+ protected HelgrindToolPage dynamicTab;
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ proj = createProjectAndBuild("cpptest"); //$NON-NLS-1$
+
+ config = createConfiguration(proj.getProject());
+
+ testShell = new Shell(Display.getDefault());
+ testShell.setLayout(new GridLayout());
+ tab = new ValgrindOptionsTab();
+ }
+
+ protected void tearDown() throws Exception {
+ tab.dispose();
+ testShell.dispose();
+ deleteProject(proj);
+ super.tearDown();
+ }
+
+ private ILaunchConfigurationWorkingCopy initConfig() throws CoreException {
+ ILaunchConfigurationWorkingCopy wc = config.getWorkingCopy();
+ tab.setDefaults(wc);
+ tab.createControl(testShell);
+ tab.initializeFrom(config);
+ int ix = Arrays.asList(tab.getTools()).indexOf(HelgrindPlugin.TOOL_ID);
+ tab.getToolsCombo().select(ix);
+ ILaunchConfigurationTab dynamicTab = tab.getDynamicTab();
+ this.dynamicTab = (HelgrindToolPage) dynamicTab;
+ return wc;
+ }
+
+ private ILaunch saveAndLaunch(ILaunchConfigurationWorkingCopy wc, String testName)
+ throws Exception {
+ tab.performApply(wc);
+ config = wc.doSave();
+
+ ILaunch launch = doLaunch(config, testName);
+ return launch;
+ }
+
+ public void testDefaults() throws Exception {
+ ILaunchConfigurationWorkingCopy wc = initConfig();
+ ILaunch launch = saveAndLaunch(wc, "testDefaults"); //$NON-NLS-1$
+ IProcess[] p = launch.getProcesses();
+ if (p.length > 0) {
+ String cmd = p[0].getAttribute(IProcess.ATTR_CMDLINE);
+ assertEquals(0, p[0].getExitValue());
+ assertTrue(cmd.contains("--tool=helgrind")); //$NON-NLS-1$
+ assertFalse(cmd.contains("--xml=yes")); //$NON-NLS-1$
+ assertTrue(cmd.contains("-q")); //$NON-NLS-1$
+ assertTrue(cmd.contains("--track-lockorders=yes")); //$NON-NLS-1$
+ assertTrue(cmd.contains("--history-level=full")); //$NON-NLS-1$
+ assertTrue(cmd.contains("--conflict-cache-size=1000000")); //$NON-NLS-1$
+ }
+ else {
+ fail();
+ }
+ }
+
+ public void testTrackLockorders() throws Exception {
+ ILaunchConfigurationWorkingCopy wc = initConfig();
+ dynamicTab.getLockordersButton().setSelection(false);
+ tab.performApply(wc);
+ wc.doSave();
+
+ ILaunch launch = saveAndLaunch(wc, "testTrackLockorders"); //$NON-NLS-1$
+ IProcess[] p = launch.getProcesses();
+ if (p.length > 0) {
+ String cmd = p[0].getAttribute(IProcess.ATTR_CMDLINE);
+ assertEquals(0, p[0].getExitValue());
+ assertTrue(cmd.contains("--track-lockorders=no")); //$NON-NLS-1$
+ }
+ else {
+ fail();
+ }
+ }
+
+ public void testHistoryNone() throws Exception {
+ ILaunchConfigurationWorkingCopy wc = initConfig();
+ dynamicTab.getHistoryCombo().setText("none");
+ tab.performApply(wc);
+ wc.doSave();
+
+ ILaunch launch = saveAndLaunch(wc, "testHistoryNone"); //$NON-NLS-1$
+ IProcess[] p = launch.getProcesses();
+ if (p.length > 0) {
+ String cmd = p[0].getAttribute(IProcess.ATTR_CMDLINE);
+ assertEquals(0, p[0].getExitValue());
+ assertTrue(cmd.contains("--history-level=none")); //$NON-NLS-1$
+ }
+ else {
+ fail();
+ }
+ }
+
+ public void testHistoryApprox() throws Exception {
+ ILaunchConfigurationWorkingCopy wc = initConfig();
+ dynamicTab.getHistoryCombo().setText("approx");
+ tab.performApply(wc);
+ wc.doSave();
+
+ ILaunch launch = saveAndLaunch(wc, "testHistoryApprox"); //$NON-NLS-1$
+ IProcess[] p = launch.getProcesses();
+ if (p.length > 0) {
+ String cmd = p[0].getAttribute(IProcess.ATTR_CMDLINE);
+ assertEquals(0, p[0].getExitValue());
+ assertTrue(cmd.contains("--history-level=approx")); //$NON-NLS-1$
+ }
+ else {
+ fail();
+ }
+ }
+
+ public void testConflictCacheSize() throws Exception {
+ ILaunchConfigurationWorkingCopy wc = initConfig();
+
+ dynamicTab.getCacheSizeSpinner().setSelection(123456);
+ tab.performApply(wc);
+ wc.doSave();
+
+ ILaunch launch = saveAndLaunch(wc, "testConflictCacheSize"); //$NON-NLS-1$
+ IProcess[] p = launch.getProcesses();
+ if (p.length > 0) {
+ String cmd = p[0].getAttribute(IProcess.ATTR_CMDLINE);
+ assertEquals(0, p[0].getExitValue());
+ assertTrue(cmd.contains("--conflict-cache-size=123456")); //$NON-NLS-1$
+ }
+ else {
+ fail();
+ }
+ }
+
+
+}
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/test.xml b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/test.xml
new file mode 100644
index 0000000..0247297
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/test.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0"?>
+
+<project name="testsuite" default="run" basedir=".">
+ <property name="helgrind_classname" value="org.eclipse.linuxtools.internal.valgrind.helgrind.tests.AllTests" />
+ <property name="helgrind-plugin-name" value="org.eclipse.linuxtools.valgrind.helgrind.tests" />
+
+ <property name="library-file" value="${eclipse-home}/dropins/${subProjectName2}/plugins/org.eclipse.test/library.xml" />
+
+ <!-- The property ${eclipse-home} should be passed into this script -->
+ <!-- Set a meaningful default value for when it is not. -->
+ <property name="eclipse-home" value="${basedir}/../.." />
+
+ <!-- This target holds all initialization code that needs to be done for -->
+ <!-- all tests that are to be run. Initialization for individual tests -->
+ <!-- should be done within the body of the suite target. -->
+ <target name="init">
+ <tstamp />
+ <delete>
+ <fileset dir="${eclipse-home}" includes="org*.xml" />
+ </delete>
+ </target>
+
+ <!-- This target defines the tests that need to be run. -->
+ <target name="helgrind_suite">
+ <property name="helgrind-folder" value="${eclipse-home}/helgrind_folder" />
+ <delete dir="${helgrind-folder}" quiet="true" />
+ <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
+ <property name="data-dir" value="${helgrind-folder}" />
+ <property name="plugin-name" value="${helgrind-plugin-name}" />
+ <property name="classname" value="${helgrind_classname}" />
+ </ant>
+ </target>
+
+ <!-- This target holds code to cleanup the testing environment after -->
+ <!-- after all of the tests have been run. You can use this target to -->
+ <!-- delete temporary files that have been created. -->
+ <target name="cleanup">
+ <mkdir dir="${results}/consolelogs" />
+ <copy failonerror="false" file="${eclipse-home}/results/${helgrind_classname}.txt" tofile="${results}/consolelogs/${helgrind_classname}_${platform}.metadata.log.txt" />
+ </target>
+
+ <!-- This target runs the test suite. Any actions that need to happen -->
+ <!-- after all the tests have been run should go here. -->
+ <target name="run" depends="init,helgrind_suite,cleanup">
+ <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
+ <property name="includes" value="org*.xml" />
+ <property name="output-file" value="${helgrind-plugin-name}.xml" />
+ </ant>
+ </target>
+
+ <target name="all" depends="run" description="Dummy target to run all tests">
+ </target>
+
+</project>
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testBranchSim/template_cachegrind_5190.txt b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testBranchSim/template_cachegrind_5190.txt
new file mode 100644
index 0000000..da3ecbe
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testBranchSim/template_cachegrind_5190.txt
@@ -0,0 +1,250 @@
+desc: I1 cache: 32768 B, 64 B, 8-way associative
+desc: D1 cache: 32768 B, 64 B, 8-way associative
+desc: L2 cache: 6291456 B, 64 B, 24-way associative
+cmd: XXXXXXXXXXXX/cpptest/Debug/cpptest
+events: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw Bc Bcm Bi Bim
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.cpp
+fn=A::A()
+17 7 1 1 3 0 0 3 0 0 0 0 0 0
+fn=A::B::B()
+26 7 1 1 3 0 0 3 0 0 0 0 0 0
+fn=A::B::d()
+27 4 0 0 0 0 0 2 0 0 0 0 0 0
+28 5 0 0 3 0 0 1 0 0 0 0 0 0
+29 3 0 0 1 0 0 1 0 0 0 0 0 0
+30 2 0 0 2 0 0 0 0 0 0 0 0 0
+fn=A::B::e()
+33 3 0 0 0 0 0 2 0 0 0 0 0 0
+34 5 0 0 3 0 0 1 0 0 0 0 0 0
+35 2 0 0 2 0 0 0 0 0 0 0 0 0
+fn=A::c()
+18 4 0 0 0 0 0 2 0 0 0 0 0 0
+19 3 0 0 0 0 0 1 0 0 0 0 0 0
+20 3 0 0 0 0 0 1 0 0 0 0 0 0
+21 4 0 0 3 0 0 0 0 0 0 0 0 0
+22 2 0 0 2 0 0 0 0 0 0 0 0 0
+fn=Foo::bar(int)
+40 5 0 0 0 0 0 3 0 0 0 0 0 0
+41 9 0 0 5 0 0 1 0 0 0 0 0 0
+42 2 0 0 2 0 0 0 0 0 0 0 0 0
+fn=Foo::baz(int, int)
+44 5 0 0 0 0 0 4 0 0 0 0 0 0
+45 3 0 0 2 0 0 0 0 0 0 0 0 0
+46 2 0 0 2 0 0 0 0 0 0 0 0 0
+fn=main
+48 5 1 1 0 0 0 3 0 0 0 0 0 0
+49 3 0 0 0 0 0 1 0 0 0 0 0 0
+50 3 0 0 0 0 0 1 0 0 0 0 0 0
+51 4 0 0 0 0 0 1 0 0 0 0 0 0
+52 3 0 0 0 0 0 1 0 0 0 0 0 0
+53 1 0 0 0 0 0 0 0 0 0 0 0 0
+54 2 0 0 2 0 0 0 0 0 0 0 0 0
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.h
+fn=Foo::Foo()
+16 7 1 1 3 0 0 3 0 0 0 0 0 0
+fl=???
+fn=(below main)
+0 57 4 4 17 2 0 17 0 0 7 1 0 0
+fn=???
+0 718 79 74 300 55 11 185 12 8 73 34 105 16
+fn=_Exit
+0 8 1 1 1 1 0 0 0 0 0 0 0 0
+fn=_IO_cleanup
+0 53 3 3 15 1 1 9 0 0 10 5 0 0
+fn=_IO_flush_all_lockp
+0 82 7 7 22 12 9 14 0 0 17 7 0 0
+fn=__cxa_atexit
+0 75 3 3 15 0 0 24 1 1 3 0 0 0
+fn=__cxa_finalize
+0 279 6 6 72 1 1 28 0 0 54 16 0 0
+fn=__init_misc
+0 24 2 2 7 1 0 5 2 1 3 0 0 0
+fn=__libc_csu_init
+0 25 3 3 7 0 0 7 0 0 1 1 0 0
+fn=__libc_fini
+0 6 0 0 3 0 0 1 0 0 1 1 0 0
+fn=__libc_global_ctors
+0 13 2 2 4 1 1 2 0 0 2 0 0 0
+fn=__libc_memalign
+0 1076 4 4 210 0 0 206 0 0 122 33 0 0
+fn=__new_exitfn
+0 111 6 6 30 5 5 10 0 0 24 13 0 0
+fn=__sigjmp_save
+0 9 0 0 2 0 0 2 0 0 1 0 0 0
+fn=__sigsetjmp
+0 246 5 5 64 0 0 104 1 1 0 0 0 0
+fn=__unregister_atfork
+0 32 2 2 12 1 1 4 0 0 4 3 0 0
+fn=_dl_add_to_slotinfo
+0 40 4 4 16 4 0 10 1 0 2 2 0 0
+fn=_dl_allocate_tls_init
+0 133 8 8 44 4 0 18 1 1 17 4 0 0
+fn=_dl_allocate_tls_storage
+0 267 3 3 7 0 0 229 28 28 231 11 0 0
+fn=_dl_cache_libcmp
+0 3198 5 5 431 26 26 0 0 0 787 53 0 0
+fn=_dl_catch_error
+0 432 3 3 144 0 0 204 2 2 12 3 0 0
+fn=_dl_check_all_versions
+0 124 3 3 19 0 0 11 0 0 22 11 0 0
+fn=_dl_check_map_versions
+0 3224 15 15 1055 15 15 403 28 28 388 91 0 0
+fn=_dl_debug_initialize
+0 76 3 3 24 2 1 4 0 0 22 2 0 0
+fn=_dl_debug_state
+0 2 0 0 2 0 0 0 0 0 0 0 0 0
+fn=_dl_determine_tlsoffset
+0 101 6 6 20 1 1 11 0 0 11 3 0 0
+fn=_dl_discover_osversion
+0 87 4 4 12 1 1 4 1 1 15 4 0 0
+fn=_dl_fini
+0 409 12 12 134 2 0 43 3 0 94 24 0 0
+fn=_dl_fixup
+0 437 6 6 158 34 1 42 0 0 59 2 0 0
+fn=_dl_important_hwcaps
+0 257 16 16 49 0 0 38 3 3 34 16 0 0
+fn=_dl_init
+0 104 5 5 25 3 0 15 0 0 10 8 0 0
+fn=_dl_init_paths
+0 1752 17 17 249 1 1 42 3 3 245 15 0 0
+fn=_dl_initial_error_catch_tsd
+0 26 1 1 13 0 0 0 0 0 0 0 0 0
+fn=_dl_load_cache_lookup
+0 1051 13 13 218 30 30 66 0 0 255 54 0 0
+fn=_dl_lookup_symbol_x
+0 525437 10 10 81620 1224 1065 27255 2 0 59165 1255 0 0
+fn=_dl_map_object
+0 2229 23 23 566 1 1 331 9 9 492 85 0 0
+fn=_dl_map_object_deps
+0 2706 28 28 517 3 2 191 3 2 739 96 0 0
+fn=_dl_map_object_from_fd
+0 4446 46 46 936 47 47 459 55 55 864 163 0 0
+fn=_dl_name_match_p
+0 5158 2 2 1384 15 0 798 2 2 796 49 0 0
+fn=_dl_new_object
+0 1241 13 13 237 8 8 231 36 36 182 83 0 0
+fn=_dl_next_ld_env_entry
+0 296 2 2 102 23 23 2 0 0 96 27 0 0
+fn=_dl_next_tls_modid
+0 16 1 1 6 0 0 2 0 0 2 0 0 0
+fn=_dl_protect_relro
+0 80 2 2 24 0 0 8 0 0 8 0 0 0
+fn=_dl_receive_error
+0 28 2 2 10 0 0 12 0 0 0 0 0 0
+fn=_dl_relocate_object
+0 183682 36 36 47167 2860 2097 14356 753 490 28971 664 2141 11
+fn=_dl_runtime_resolve
+0 126 2 2 54 0 0 48 0 0 0 0 6 3
+fn=_dl_setup_hash
+0 203 2 2 49 10 10 42 1 1 14 0 0 0
+fn=_dl_sort_fini
+0 666 6 6 172 5 0 24 0 0 163 41 0 0
+fn=_dl_start
+0 397 17 16 48 14 12 40 12 12 74 25 0 0
+fn=_dl_sysdep_read_whole_file
+0 42 3 3 6 0 0 9 0 0 3 1 0 0
+fn=_dl_sysdep_start
+0 395 13 13 108 16 15 27 2 2 86 24 16 12
+fn=_dl_sysdep_start_cleanup
+0 1 0 0 1 0 0 0 0 0 0 0 0 0
+fn=_dl_unload_cache
+0 10 0 0 3 0 0 2 0 0 1 0 0 0
+fn=_dl_vdso_vsym
+0 16 1 1 6 1 0 0 0 0 2 0 0 0
+fn=_fxstat
+0 60 1 1 6 0 0 0 0 0 12 0 0 0
+fn=_init
+0 136 9 9 22 4 1 18 5 4 12 7 0 0
+fn=_setjmp
+0 2 1 1 0 0 0 0 0 0 0 0 0 0
+fn=_xstat
+0 199 1 1 16 0 0 13 0 0 32 5 0 0
+fn=access
+0 11 1 1 1 0 0 1 0 0 1 1 0 0
+fn=brk
+0 11 1 1 1 0 0 1 1 1 2 0 0 0
+fn=bsearch
+0 3388 3 3 416 0 0 585 1 0 459 111 0 0
+fn=call_init
+0 307 5 5 105 17 0 60 0 0 38 11 0 0
+fn=calloc
+0 126 2 2 0 0 0 0 0 0 14 12 0 0
+fn=check_match.8652
+0 68242 7 7 23556 162 99 5915 0 0 9409 25 0 0
+fn=close
+0 30 0 0 6 0 0 0 0 0 6 0 0 0
+fn=dl_main
+0 1126 63 63 289 32 19 128 14 14 323 91 0 0
+fn=do_lookup_x
+0 326670 13 13 104430 1862 504 46233 1 0 48859 2855 0 0
+fn=do_preload
+0 28 3 3 7 0 0 9 0 0 1 0 0 0
+fn=exit
+0 76 4 4 11 1 1 10 0 0 16 5 0 0
+fn=expand_dynamic_string_token
+0 32 3 3 6 0 0 9 0 0 2 0 0 0
+fn=fillin_rpath
+0 513 16 16 94 0 0 85 4 4 95 43 0 0
+fn=handle_intel
+0 195 4 4 26 0 0 45 1 1 20 6 0 0
+fn=index
+0 687 2 2 62 7 7 0 0 0 63 38 0 0
+fn=init_cacheinfo
+0 106 8 8 4 0 0 10 3 3 15 5 0 0
+fn=init_tls
+0 86 4 4 22 2 1 14 0 0 20 11 0 0
+fn=intel_02_known_compare
+0 1218 1 1 528 20 20 0 0 0 176 11 0 0
+fn=intel_check_word
+0 921 7 7 95 0 0 146 1 1 160 44 0 0
+fn=local_strdup
+0 68 1 1 8 0 0 16 0 0 4 0 0 0
+fn=malloc
+0 114 0 0 0 0 0 0 0 0 0 0 0 0
+fn=map_doit
+0 15 2 2 6 0 0 4 0 0 0 0 0 0
+fn=match_symbol
+0 1251 4 4 465 24 24 144 0 0 273 29 0 0
+fn=memcpy
+0 862 6 6 143 0 0 119 15 15 203 87 0 0
+fn=mempcpy
+0 2443 6 6 384 2 1 305 11 11 571 149 0 0
+fn=memset
+0 1042 3 3 7 0 0 515 67 67 123 49 0 0
+fn=mmap
+0 108 2 2 18 0 0 0 0 0 18 0 0 0
+fn=mprotect
+0 45 1 1 9 0 0 0 0 0 9 0 0 0
+fn=munmap
+0 5 0 0 1 0 0 0 0 0 1 0 0 0
+fn=open
+0 305 1 1 31 0 0 25 0 0 31 4 0 0
+fn=open_path
+0 2236 14 14 802 0 0 239 1 1 338 49 0 0
+fn=open_verify
+0 1879 11 11 604 7 7 325 4 4 432 101 0 0
+fn=openaux
+0 231 2 2 88 0 0 44 1 1 0 0 0 0
+fn=process_envvars
+0 230 9 9 74 4 4 16 3 3 89 33 2 2
+fn=read
+0 25 1 1 5 0 0 0 0 0 5 0 0 0
+fn=rindex
+0 105 3 3 6 2 1 0 0 0 15 4 0 0
+fn=rtld_lock_default_lock_recursive
+0 2 0 0 2 0 0 0 0 0 0 0 0 0
+fn=rtld_lock_default_unlock_recursive
+0 2 0 0 2 0 0 0 0 0 0 0 0 0
+fn=sbrk
+0 17 2 2 5 0 0 2 1 1 3 1 0 0
+fn=strcmp
+0 110867 2 2 32622 70 20 0 0 0 30555 1530 0 0
+fn=strlen
+0 776 2 2 99 2 2 0 0 0 73 32 0 0
+fn=strsep
+0 5157 3 3 821 0 0 8 0 0 1350 20 0 0
+fn=uname
+0 5 1 1 1 0 0 0 0 0 1 0 0 0
+fn=version_check_doit
+0 10 1 1 4 0 0 2 0 0 1 1 0 0
+summary: 1273787 700 694 302365 6648 4096 100676 1095 817 188014 8300 2270 44
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testD1Cache/template_cachegrind_5300.txt b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testD1Cache/template_cachegrind_5300.txt
new file mode 100644
index 0000000..50e2cde
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testD1Cache/template_cachegrind_5300.txt
@@ -0,0 +1,250 @@
+desc: I1 cache: 32768 B, 64 B, 8-way associative
+desc: D1 cache: 16384 B, 16 B, direct-mapped
+desc: L2 cache: 6291456 B, 64 B, 24-way associative
+cmd: XXXXXXXXXXXX/cpptest/Debug/cpptest
+events: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.cpp
+fn=A::A()
+17 7 1 1 3 0 0 3 0 0
+fn=A::B::B()
+26 7 1 1 3 0 0 3 0 0
+fn=A::B::d()
+27 4 0 0 0 0 0 2 0 0
+28 5 0 0 3 0 0 1 0 0
+29 3 0 0 1 0 0 1 0 0
+30 2 0 0 2 0 0 0 0 0
+fn=A::B::e()
+33 3 0 0 0 0 0 2 1 0
+34 5 0 0 3 0 0 1 0 0
+35 2 0 0 2 0 0 0 0 0
+fn=A::c()
+18 4 0 0 0 0 0 2 0 0
+19 3 0 0 0 0 0 1 0 0
+20 3 0 0 0 0 0 1 0 0
+21 4 0 0 3 0 0 0 0 0
+22 2 0 0 2 0 0 0 0 0
+fn=Foo::bar(int)
+40 5 0 0 0 0 0 3 0 0
+41 9 0 0 5 0 0 1 0 0
+42 2 0 0 2 0 0 0 0 0
+fn=Foo::baz(int, int)
+44 5 0 0 0 0 0 4 1 0
+45 3 0 0 2 0 0 0 0 0
+46 2 0 0 2 0 0 0 0 0
+fn=main
+48 5 1 1 0 0 0 3 0 0
+49 3 0 0 0 0 0 1 0 0
+50 3 0 0 0 0 0 1 0 0
+51 4 0 0 0 0 0 1 0 0
+52 3 0 0 0 0 0 1 0 0
+53 1 0 0 0 0 0 0 0 0
+54 2 0 0 2 0 0 0 0 0
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.h
+fn=Foo::Foo()
+16 7 1 1 3 0 0 3 0 0
+fl=???
+fn=(below main)
+0 57 4 4 17 3 0 17 0 0
+fn=???
+0 718 79 74 300 95 11 185 32 8
+fn=_Exit
+0 8 1 1 1 1 0 0 0 0
+fn=_IO_cleanup
+0 53 3 3 15 3 1 9 0 0
+fn=_IO_flush_all_lockp
+0 82 7 7 22 12 9 14 1 0
+fn=__cxa_atexit
+0 75 3 3 15 0 0 24 3 1
+fn=__cxa_finalize
+0 279 6 6 72 7 1 28 0 0
+fn=__init_misc
+0 24 2 2 7 1 0 5 3 1
+fn=__libc_csu_init
+0 25 3 3 7 0 0 7 1 0
+fn=__libc_fini
+0 6 0 0 3 1 0 1 0 0
+fn=__libc_global_ctors
+0 13 2 2 4 2 1 2 0 0
+fn=__libc_memalign
+0 1076 4 4 210 7 0 206 16 0
+fn=__new_exitfn
+0 111 6 6 30 7 5 10 3 0
+fn=__sigjmp_save
+0 9 0 0 2 0 0 2 0 0
+fn=__sigsetjmp
+0 246 5 5 64 1 0 104 18 1
+fn=__unregister_atfork
+0 32 2 2 12 4 1 4 0 0
+fn=_dl_add_to_slotinfo
+0 40 4 4 16 5 0 10 3 0
+fn=_dl_allocate_tls_init
+0 133 8 8 44 9 0 18 3 1
+fn=_dl_allocate_tls_storage
+0 267 3 3 7 0 0 229 112 28
+fn=_dl_cache_libcmp
+0 3198 5 5 431 34 26 0 0 0
+fn=_dl_catch_error
+0 432 3 3 144 7 0 204 19 2
+fn=_dl_check_all_versions
+0 124 3 3 19 4 0 11 0 0
+fn=_dl_check_map_versions
+0 3224 15 15 1055 105 15 403 112 28
+fn=_dl_debug_initialize
+0 76 3 3 24 8 1 4 1 0
+fn=_dl_debug_state
+0 2 0 0 2 0 0 0 0 0
+fn=_dl_determine_tlsoffset
+0 101 6 6 20 2 1 11 1 0
+fn=_dl_discover_osversion
+0 87 4 4 12 2 1 4 2 1
+fn=_dl_fini
+0 409 12 12 134 46 0 43 9 0
+fn=_dl_fixup
+0 437 6 6 158 49 1 42 4 0
+fn=_dl_important_hwcaps
+0 257 16 16 49 0 0 38 13 3
+fn=_dl_init
+0 104 5 5 25 11 0 15 1 0
+fn=_dl_init_paths
+0 1752 17 17 249 4 1 42 15 3
+fn=_dl_initial_error_catch_tsd
+0 26 1 1 13 0 0 0 0 0
+fn=_dl_load_cache_lookup
+0 1051 13 13 218 48 30 66 2 0
+fn=_dl_lookup_symbol_x
+0 525437 10 10 81620 6076 1065 27255 266 0
+fn=_dl_map_object
+0 2229 23 23 566 69 1 331 34 9
+fn=_dl_map_object_deps
+0 2706 28 28 517 111 2 191 27 2
+fn=_dl_map_object_from_fd
+0 4446 46 46 936 185 47 459 164 55
+fn=_dl_name_match_p
+0 5158 2 2 1384 190 0 798 14 2
+fn=_dl_new_object
+0 1241 13 13 237 13 8 231 91 36
+fn=_dl_next_ld_env_entry
+0 296 2 2 102 43 23 2 0 0
+fn=_dl_next_tls_modid
+0 16 1 1 6 1 0 2 0 0
+fn=_dl_protect_relro
+0 80 2 2 24 5 0 8 1 0
+fn=_dl_receive_error
+0 28 2 2 10 5 0 12 1 0
+fn=_dl_relocate_object
+0 183682 36 36 47167 8100 2097 14356 2100 490
+fn=_dl_runtime_resolve
+0 126 2 2 54 2 0 48 1 0
+fn=_dl_setup_hash
+0 203 2 2 49 12 10 42 19 1
+fn=_dl_sort_fini
+0 666 6 6 172 23 0 24 0 0
+fn=_dl_start
+0 397 17 16 48 34 12 40 28 12
+fn=_dl_sysdep_read_whole_file
+0 42 3 3 6 0 0 9 1 0
+fn=_dl_sysdep_start
+0 395 13 13 108 58 15 27 9 2
+fn=_dl_sysdep_start_cleanup
+0 1 0 0 1 0 0 0 0 0
+fn=_dl_unload_cache
+0 10 0 0 3 2 0 2 0 0
+fn=_dl_vdso_vsym
+0 16 1 1 6 1 0 0 0 0
+fn=_fxstat
+0 60 1 1 6 0 0 0 0 0
+fn=_init
+0 136 9 9 22 7 1 18 6 4
+fn=_setjmp
+0 2 1 1 0 0 0 0 0 0
+fn=_xstat
+0 199 1 1 16 0 0 13 0 0
+fn=access
+0 11 1 1 1 0 0 1 1 0
+fn=brk
+0 11 1 1 1 0 0 1 1 1
+fn=bsearch
+0 3388 3 3 416 0 0 585 5 0
+fn=call_init
+0 307 5 5 105 31 0 60 0 0
+fn=calloc
+0 126 2 2 0 0 0 0 0 0
+fn=check_match.8652
+0 68242 7 7 23556 907 99 5915 73 0
+fn=close
+0 30 0 0 6 0 0 0 0 0
+fn=dl_main
+0 1126 63 63 289 102 19 128 44 14
+fn=do_lookup_x
+0 326670 13 13 104430 10226 504 46233 1368 0
+fn=do_preload
+0 28 3 3 7 0 0 9 0 0
+fn=exit
+0 76 4 4 11 1 1 10 1 0
+fn=expand_dynamic_string_token
+0 32 3 3 6 0 0 9 2 0
+fn=fillin_rpath
+0 513 16 16 94 0 0 85 23 4
+fn=handle_intel
+0 195 4 4 26 0 0 45 6 1
+fn=index
+0 687 2 2 62 27 7 0 0 0
+fn=init_cacheinfo
+0 106 8 8 4 0 0 10 5 3
+fn=init_tls
+0 86 4 4 22 10 1 14 4 0
+fn=intel_02_known_compare
+0 1218 1 1 528 25 20 0 0 0
+fn=intel_check_word
+0 921 7 7 95 0 0 146 5 1
+fn=local_strdup
+0 68 1 1 8 0 0 16 0 0
+fn=malloc
+0 114 0 0 0 0 0 0 0 0
+fn=map_doit
+0 15 2 2 6 0 0 4 1 0
+fn=match_symbol
+0 1251 4 4 465 90 24 144 3 0
+fn=memcpy
+0 862 6 6 143 0 0 119 44 15
+fn=mempcpy
+0 2443 6 6 384 19 1 305 38 11
+fn=memset
+0 1042 3 3 7 0 0 515 259 67
+fn=mmap
+0 108 2 2 18 0 0 0 0 0
+fn=mprotect
+0 45 1 1 9 0 0 0 0 0
+fn=munmap
+0 5 0 0 1 0 0 0 0 0
+fn=open
+0 305 1 1 31 0 0 25 2 0
+fn=open_path
+0 2236 14 14 802 24 0 239 10 1
+fn=open_verify
+0 1879 11 11 604 23 7 325 26 4
+fn=openaux
+0 231 2 2 88 10 0 44 6 1
+fn=process_envvars
+0 230 9 9 74 8 4 16 9 3
+fn=read
+0 25 1 1 5 0 0 0 0 0
+fn=rindex
+0 105 3 3 6 5 1 0 0 0
+fn=rtld_lock_default_lock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=rtld_lock_default_unlock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=sbrk
+0 17 2 2 5 1 0 2 1 1
+fn=strcmp
+0 110867 2 2 32622 235 20 0 0 0
+fn=strlen
+0 776 2 2 99 5 2 0 0 0
+fn=strsep
+0 5157 3 3 821 0 0 8 0 0
+fn=uname
+0 5 1 1 1 0 0 0 0 0
+fn=version_check_doit
+0 10 1 1 4 1 0 2 0 0
+summary: 1273787 700 694 302365 27165 4096 100676 5075 817
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testDefaults/template_cachegrind_5885.txt b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testDefaults/template_cachegrind_5885.txt
new file mode 100644
index 0000000..6ebabc9
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testDefaults/template_cachegrind_5885.txt
@@ -0,0 +1,250 @@
+desc: I1 cache: 32768 B, 64 B, 8-way associative
+desc: D1 cache: 32768 B, 64 B, 8-way associative
+desc: L2 cache: 6291456 B, 64 B, 24-way associative
+cmd: XXXXXXXXXXXX/cpptest/Debug/cpptest
+events: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.cpp
+fn=A::A()
+17 7 1 1 3 0 0 3 0 0
+fn=A::B::B()
+26 7 1 1 3 0 0 3 0 0
+fn=A::B::d()
+27 4 0 0 0 0 0 2 0 0
+28 5 0 0 3 0 0 1 0 0
+29 3 0 0 1 0 0 1 0 0
+30 2 0 0 2 0 0 0 0 0
+fn=A::B::e()
+33 3 0 0 0 0 0 2 0 0
+34 5 0 0 3 0 0 1 0 0
+35 2 0 0 2 0 0 0 0 0
+fn=A::c()
+18 4 0 0 0 0 0 2 0 0
+19 3 0 0 0 0 0 1 0 0
+20 3 0 0 0 0 0 1 0 0
+21 4 0 0 3 0 0 0 0 0
+22 2 0 0 2 0 0 0 0 0
+fn=Foo::bar(int)
+40 5 0 0 0 0 0 3 0 0
+41 9 0 0 5 0 0 1 0 0
+42 2 0 0 2 0 0 0 0 0
+fn=Foo::baz(int, int)
+44 5 0 0 0 0 0 4 0 0
+45 3 0 0 2 0 0 0 0 0
+46 2 0 0 2 0 0 0 0 0
+fn=main
+48 5 1 1 0 0 0 3 0 0
+49 3 0 0 0 0 0 1 0 0
+50 3 0 0 0 0 0 1 0 0
+51 4 0 0 0 0 0 1 0 0
+52 3 0 0 0 0 0 1 0 0
+53 1 0 0 0 0 0 0 0 0
+54 2 0 0 2 0 0 0 0 0
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.h
+fn=Foo::Foo()
+16 7 1 1 3 0 0 3 0 0
+fl=???
+fn=(below main)
+0 57 4 4 17 2 0 17 0 0
+fn=???
+0 718 79 74 300 55 11 185 12 8
+fn=_Exit
+0 8 1 1 1 1 0 0 0 0
+fn=_IO_cleanup
+0 53 3 3 15 1 1 9 0 0
+fn=_IO_flush_all_lockp
+0 82 7 7 22 12 9 14 0 0
+fn=__cxa_atexit
+0 75 3 3 15 0 0 24 1 1
+fn=__cxa_finalize
+0 279 6 6 72 1 1 28 0 0
+fn=__init_misc
+0 24 2 2 7 1 0 5 2 1
+fn=__libc_csu_init
+0 25 3 3 7 0 0 7 0 0
+fn=__libc_fini
+0 6 0 0 3 0 0 1 0 0
+fn=__libc_global_ctors
+0 13 2 2 4 1 1 2 0 0
+fn=__libc_memalign
+0 1076 4 4 210 0 0 206 0 0
+fn=__new_exitfn
+0 111 6 6 30 5 5 10 0 0
+fn=__sigjmp_save
+0 9 0 0 2 0 0 2 0 0
+fn=__sigsetjmp
+0 246 5 5 64 0 0 104 1 1
+fn=__unregister_atfork
+0 32 2 2 12 1 1 4 0 0
+fn=_dl_add_to_slotinfo
+0 40 4 4 16 4 0 10 1 0
+fn=_dl_allocate_tls_init
+0 133 8 8 44 4 0 18 1 1
+fn=_dl_allocate_tls_storage
+0 267 3 3 7 0 0 229 28 28
+fn=_dl_cache_libcmp
+0 3198 5 5 431 26 26 0 0 0
+fn=_dl_catch_error
+0 432 3 3 144 0 0 204 2 2
+fn=_dl_check_all_versions
+0 124 3 3 19 0 0 11 0 0
+fn=_dl_check_map_versions
+0 3224 15 15 1055 15 15 403 28 28
+fn=_dl_debug_initialize
+0 76 3 3 24 2 1 4 0 0
+fn=_dl_debug_state
+0 2 0 0 2 0 0 0 0 0
+fn=_dl_determine_tlsoffset
+0 101 6 6 20 1 1 11 0 0
+fn=_dl_discover_osversion
+0 87 4 4 12 1 1 4 1 1
+fn=_dl_fini
+0 409 12 12 134 2 0 43 3 0
+fn=_dl_fixup
+0 437 6 6 158 34 1 42 0 0
+fn=_dl_important_hwcaps
+0 257 16 16 49 0 0 38 3 3
+fn=_dl_init
+0 104 5 5 25 3 0 15 0 0
+fn=_dl_init_paths
+0 1752 17 17 249 1 1 42 3 3
+fn=_dl_initial_error_catch_tsd
+0 26 1 1 13 0 0 0 0 0
+fn=_dl_load_cache_lookup
+0 1051 13 13 218 30 30 66 0 0
+fn=_dl_lookup_symbol_x
+0 525437 10 10 81620 1224 1065 27255 2 0
+fn=_dl_map_object
+0 2229 23 23 566 1 1 331 9 9
+fn=_dl_map_object_deps
+0 2706 28 28 517 3 2 191 3 2
+fn=_dl_map_object_from_fd
+0 4446 46 46 936 47 47 459 55 55
+fn=_dl_name_match_p
+0 5158 2 2 1384 15 0 798 2 2
+fn=_dl_new_object
+0 1241 13 13 237 8 8 231 36 36
+fn=_dl_next_ld_env_entry
+0 296 2 2 102 23 23 2 0 0
+fn=_dl_next_tls_modid
+0 16 1 1 6 0 0 2 0 0
+fn=_dl_protect_relro
+0 80 2 2 24 0 0 8 0 0
+fn=_dl_receive_error
+0 28 2 2 10 0 0 12 0 0
+fn=_dl_relocate_object
+0 183682 36 36 47167 2860 2097 14356 753 490
+fn=_dl_runtime_resolve
+0 126 2 2 54 0 0 48 0 0
+fn=_dl_setup_hash
+0 203 2 2 49 10 10 42 1 1
+fn=_dl_sort_fini
+0 666 6 6 172 5 0 24 0 0
+fn=_dl_start
+0 397 17 16 48 14 12 40 12 12
+fn=_dl_sysdep_read_whole_file
+0 42 3 3 6 0 0 9 0 0
+fn=_dl_sysdep_start
+0 395 13 13 108 16 15 27 2 2
+fn=_dl_sysdep_start_cleanup
+0 1 0 0 1 0 0 0 0 0
+fn=_dl_unload_cache
+0 10 0 0 3 0 0 2 0 0
+fn=_dl_vdso_vsym
+0 16 1 1 6 1 0 0 0 0
+fn=_fxstat
+0 60 1 1 6 0 0 0 0 0
+fn=_init
+0 136 9 9 22 4 1 18 5 4
+fn=_setjmp
+0 2 1 1 0 0 0 0 0 0
+fn=_xstat
+0 199 1 1 16 0 0 13 0 0
+fn=access
+0 11 1 1 1 0 0 1 0 0
+fn=brk
+0 11 1 1 1 0 0 1 1 1
+fn=bsearch
+0 3388 3 3 416 0 0 585 1 0
+fn=call_init
+0 307 5 5 105 17 0 60 0 0
+fn=calloc
+0 126 2 2 0 0 0 0 0 0
+fn=check_match.8652
+0 68242 7 7 23556 162 99 5915 0 0
+fn=close
+0 30 0 0 6 0 0 0 0 0
+fn=dl_main
+0 1126 63 63 289 32 19 128 14 14
+fn=do_lookup_x
+0 326670 13 13 104430 1862 504 46233 1 0
+fn=do_preload
+0 28 3 3 7 0 0 9 0 0
+fn=exit
+0 76 4 4 11 1 1 10 0 0
+fn=expand_dynamic_string_token
+0 32 3 3 6 0 0 9 0 0
+fn=fillin_rpath
+0 513 16 16 94 0 0 85 4 4
+fn=handle_intel
+0 195 4 4 26 0 0 45 1 1
+fn=index
+0 687 2 2 62 7 7 0 0 0
+fn=init_cacheinfo
+0 106 8 8 4 0 0 10 3 3
+fn=init_tls
+0 86 4 4 22 2 1 14 0 0
+fn=intel_02_known_compare
+0 1218 1 1 528 20 20 0 0 0
+fn=intel_check_word
+0 921 7 7 95 0 0 146 1 1
+fn=local_strdup
+0 68 1 1 8 0 0 16 0 0
+fn=malloc
+0 114 0 0 0 0 0 0 0 0
+fn=map_doit
+0 15 2 2 6 0 0 4 0 0
+fn=match_symbol
+0 1251 4 4 465 24 24 144 0 0
+fn=memcpy
+0 862 6 6 143 0 0 119 15 15
+fn=mempcpy
+0 2443 6 6 384 2 1 305 11 11
+fn=memset
+0 1042 3 3 7 0 0 515 67 67
+fn=mmap
+0 108 2 2 18 0 0 0 0 0
+fn=mprotect
+0 45 1 1 9 0 0 0 0 0
+fn=munmap
+0 5 0 0 1 0 0 0 0 0
+fn=open
+0 305 1 1 31 0 0 25 0 0
+fn=open_path
+0 2236 14 14 802 0 0 239 1 1
+fn=open_verify
+0 1879 11 11 604 7 7 325 4 4
+fn=openaux
+0 231 2 2 88 0 0 44 1 1
+fn=process_envvars
+0 230 9 9 74 4 4 16 3 3
+fn=read
+0 25 1 1 5 0 0 0 0 0
+fn=rindex
+0 105 3 3 6 2 1 0 0 0
+fn=rtld_lock_default_lock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=rtld_lock_default_unlock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=sbrk
+0 17 2 2 5 0 0 2 1 1
+fn=strcmp
+0 110867 2 2 32622 70 20 0 0 0
+fn=strlen
+0 776 2 2 99 2 2 0 0 0
+fn=strsep
+0 5157 3 3 821 0 0 8 0 0
+fn=uname
+0 5 1 1 1 0 0 0 0 0
+fn=version_check_doit
+0 10 1 1 4 0 0 2 0 0
+summary: 1273787 700 694 302365 6648 4096 100676 1095 817
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testDoubleClickFile/template_cachegrind_4919.txt b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testDoubleClickFile/template_cachegrind_4919.txt
new file mode 100644
index 0000000..6ebabc9
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testDoubleClickFile/template_cachegrind_4919.txt
@@ -0,0 +1,250 @@
+desc: I1 cache: 32768 B, 64 B, 8-way associative
+desc: D1 cache: 32768 B, 64 B, 8-way associative
+desc: L2 cache: 6291456 B, 64 B, 24-way associative
+cmd: XXXXXXXXXXXX/cpptest/Debug/cpptest
+events: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.cpp
+fn=A::A()
+17 7 1 1 3 0 0 3 0 0
+fn=A::B::B()
+26 7 1 1 3 0 0 3 0 0
+fn=A::B::d()
+27 4 0 0 0 0 0 2 0 0
+28 5 0 0 3 0 0 1 0 0
+29 3 0 0 1 0 0 1 0 0
+30 2 0 0 2 0 0 0 0 0
+fn=A::B::e()
+33 3 0 0 0 0 0 2 0 0
+34 5 0 0 3 0 0 1 0 0
+35 2 0 0 2 0 0 0 0 0
+fn=A::c()
+18 4 0 0 0 0 0 2 0 0
+19 3 0 0 0 0 0 1 0 0
+20 3 0 0 0 0 0 1 0 0
+21 4 0 0 3 0 0 0 0 0
+22 2 0 0 2 0 0 0 0 0
+fn=Foo::bar(int)
+40 5 0 0 0 0 0 3 0 0
+41 9 0 0 5 0 0 1 0 0
+42 2 0 0 2 0 0 0 0 0
+fn=Foo::baz(int, int)
+44 5 0 0 0 0 0 4 0 0
+45 3 0 0 2 0 0 0 0 0
+46 2 0 0 2 0 0 0 0 0
+fn=main
+48 5 1 1 0 0 0 3 0 0
+49 3 0 0 0 0 0 1 0 0
+50 3 0 0 0 0 0 1 0 0
+51 4 0 0 0 0 0 1 0 0
+52 3 0 0 0 0 0 1 0 0
+53 1 0 0 0 0 0 0 0 0
+54 2 0 0 2 0 0 0 0 0
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.h
+fn=Foo::Foo()
+16 7 1 1 3 0 0 3 0 0
+fl=???
+fn=(below main)
+0 57 4 4 17 2 0 17 0 0
+fn=???
+0 718 79 74 300 55 11 185 12 8
+fn=_Exit
+0 8 1 1 1 1 0 0 0 0
+fn=_IO_cleanup
+0 53 3 3 15 1 1 9 0 0
+fn=_IO_flush_all_lockp
+0 82 7 7 22 12 9 14 0 0
+fn=__cxa_atexit
+0 75 3 3 15 0 0 24 1 1
+fn=__cxa_finalize
+0 279 6 6 72 1 1 28 0 0
+fn=__init_misc
+0 24 2 2 7 1 0 5 2 1
+fn=__libc_csu_init
+0 25 3 3 7 0 0 7 0 0
+fn=__libc_fini
+0 6 0 0 3 0 0 1 0 0
+fn=__libc_global_ctors
+0 13 2 2 4 1 1 2 0 0
+fn=__libc_memalign
+0 1076 4 4 210 0 0 206 0 0
+fn=__new_exitfn
+0 111 6 6 30 5 5 10 0 0
+fn=__sigjmp_save
+0 9 0 0 2 0 0 2 0 0
+fn=__sigsetjmp
+0 246 5 5 64 0 0 104 1 1
+fn=__unregister_atfork
+0 32 2 2 12 1 1 4 0 0
+fn=_dl_add_to_slotinfo
+0 40 4 4 16 4 0 10 1 0
+fn=_dl_allocate_tls_init
+0 133 8 8 44 4 0 18 1 1
+fn=_dl_allocate_tls_storage
+0 267 3 3 7 0 0 229 28 28
+fn=_dl_cache_libcmp
+0 3198 5 5 431 26 26 0 0 0
+fn=_dl_catch_error
+0 432 3 3 144 0 0 204 2 2
+fn=_dl_check_all_versions
+0 124 3 3 19 0 0 11 0 0
+fn=_dl_check_map_versions
+0 3224 15 15 1055 15 15 403 28 28
+fn=_dl_debug_initialize
+0 76 3 3 24 2 1 4 0 0
+fn=_dl_debug_state
+0 2 0 0 2 0 0 0 0 0
+fn=_dl_determine_tlsoffset
+0 101 6 6 20 1 1 11 0 0
+fn=_dl_discover_osversion
+0 87 4 4 12 1 1 4 1 1
+fn=_dl_fini
+0 409 12 12 134 2 0 43 3 0
+fn=_dl_fixup
+0 437 6 6 158 34 1 42 0 0
+fn=_dl_important_hwcaps
+0 257 16 16 49 0 0 38 3 3
+fn=_dl_init
+0 104 5 5 25 3 0 15 0 0
+fn=_dl_init_paths
+0 1752 17 17 249 1 1 42 3 3
+fn=_dl_initial_error_catch_tsd
+0 26 1 1 13 0 0 0 0 0
+fn=_dl_load_cache_lookup
+0 1051 13 13 218 30 30 66 0 0
+fn=_dl_lookup_symbol_x
+0 525437 10 10 81620 1224 1065 27255 2 0
+fn=_dl_map_object
+0 2229 23 23 566 1 1 331 9 9
+fn=_dl_map_object_deps
+0 2706 28 28 517 3 2 191 3 2
+fn=_dl_map_object_from_fd
+0 4446 46 46 936 47 47 459 55 55
+fn=_dl_name_match_p
+0 5158 2 2 1384 15 0 798 2 2
+fn=_dl_new_object
+0 1241 13 13 237 8 8 231 36 36
+fn=_dl_next_ld_env_entry
+0 296 2 2 102 23 23 2 0 0
+fn=_dl_next_tls_modid
+0 16 1 1 6 0 0 2 0 0
+fn=_dl_protect_relro
+0 80 2 2 24 0 0 8 0 0
+fn=_dl_receive_error
+0 28 2 2 10 0 0 12 0 0
+fn=_dl_relocate_object
+0 183682 36 36 47167 2860 2097 14356 753 490
+fn=_dl_runtime_resolve
+0 126 2 2 54 0 0 48 0 0
+fn=_dl_setup_hash
+0 203 2 2 49 10 10 42 1 1
+fn=_dl_sort_fini
+0 666 6 6 172 5 0 24 0 0
+fn=_dl_start
+0 397 17 16 48 14 12 40 12 12
+fn=_dl_sysdep_read_whole_file
+0 42 3 3 6 0 0 9 0 0
+fn=_dl_sysdep_start
+0 395 13 13 108 16 15 27 2 2
+fn=_dl_sysdep_start_cleanup
+0 1 0 0 1 0 0 0 0 0
+fn=_dl_unload_cache
+0 10 0 0 3 0 0 2 0 0
+fn=_dl_vdso_vsym
+0 16 1 1 6 1 0 0 0 0
+fn=_fxstat
+0 60 1 1 6 0 0 0 0 0
+fn=_init
+0 136 9 9 22 4 1 18 5 4
+fn=_setjmp
+0 2 1 1 0 0 0 0 0 0
+fn=_xstat
+0 199 1 1 16 0 0 13 0 0
+fn=access
+0 11 1 1 1 0 0 1 0 0
+fn=brk
+0 11 1 1 1 0 0 1 1 1
+fn=bsearch
+0 3388 3 3 416 0 0 585 1 0
+fn=call_init
+0 307 5 5 105 17 0 60 0 0
+fn=calloc
+0 126 2 2 0 0 0 0 0 0
+fn=check_match.8652
+0 68242 7 7 23556 162 99 5915 0 0
+fn=close
+0 30 0 0 6 0 0 0 0 0
+fn=dl_main
+0 1126 63 63 289 32 19 128 14 14
+fn=do_lookup_x
+0 326670 13 13 104430 1862 504 46233 1 0
+fn=do_preload
+0 28 3 3 7 0 0 9 0 0
+fn=exit
+0 76 4 4 11 1 1 10 0 0
+fn=expand_dynamic_string_token
+0 32 3 3 6 0 0 9 0 0
+fn=fillin_rpath
+0 513 16 16 94 0 0 85 4 4
+fn=handle_intel
+0 195 4 4 26 0 0 45 1 1
+fn=index
+0 687 2 2 62 7 7 0 0 0
+fn=init_cacheinfo
+0 106 8 8 4 0 0 10 3 3
+fn=init_tls
+0 86 4 4 22 2 1 14 0 0
+fn=intel_02_known_compare
+0 1218 1 1 528 20 20 0 0 0
+fn=intel_check_word
+0 921 7 7 95 0 0 146 1 1
+fn=local_strdup
+0 68 1 1 8 0 0 16 0 0
+fn=malloc
+0 114 0 0 0 0 0 0 0 0
+fn=map_doit
+0 15 2 2 6 0 0 4 0 0
+fn=match_symbol
+0 1251 4 4 465 24 24 144 0 0
+fn=memcpy
+0 862 6 6 143 0 0 119 15 15
+fn=mempcpy
+0 2443 6 6 384 2 1 305 11 11
+fn=memset
+0 1042 3 3 7 0 0 515 67 67
+fn=mmap
+0 108 2 2 18 0 0 0 0 0
+fn=mprotect
+0 45 1 1 9 0 0 0 0 0
+fn=munmap
+0 5 0 0 1 0 0 0 0 0
+fn=open
+0 305 1 1 31 0 0 25 0 0
+fn=open_path
+0 2236 14 14 802 0 0 239 1 1
+fn=open_verify
+0 1879 11 11 604 7 7 325 4 4
+fn=openaux
+0 231 2 2 88 0 0 44 1 1
+fn=process_envvars
+0 230 9 9 74 4 4 16 3 3
+fn=read
+0 25 1 1 5 0 0 0 0 0
+fn=rindex
+0 105 3 3 6 2 1 0 0 0
+fn=rtld_lock_default_lock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=rtld_lock_default_unlock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=sbrk
+0 17 2 2 5 0 0 2 1 1
+fn=strcmp
+0 110867 2 2 32622 70 20 0 0 0
+fn=strlen
+0 776 2 2 99 2 2 0 0 0
+fn=strsep
+0 5157 3 3 821 0 0 8 0 0
+fn=uname
+0 5 1 1 1 0 0 0 0 0
+fn=version_check_doit
+0 10 1 1 4 0 0 2 0 0
+summary: 1273787 700 694 302365 6648 4096 100676 1095 817
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testDoubleClickFunction/template_cachegrind_5031.txt b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testDoubleClickFunction/template_cachegrind_5031.txt
new file mode 100644
index 0000000..6ebabc9
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testDoubleClickFunction/template_cachegrind_5031.txt
@@ -0,0 +1,250 @@
+desc: I1 cache: 32768 B, 64 B, 8-way associative
+desc: D1 cache: 32768 B, 64 B, 8-way associative
+desc: L2 cache: 6291456 B, 64 B, 24-way associative
+cmd: XXXXXXXXXXXX/cpptest/Debug/cpptest
+events: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.cpp
+fn=A::A()
+17 7 1 1 3 0 0 3 0 0
+fn=A::B::B()
+26 7 1 1 3 0 0 3 0 0
+fn=A::B::d()
+27 4 0 0 0 0 0 2 0 0
+28 5 0 0 3 0 0 1 0 0
+29 3 0 0 1 0 0 1 0 0
+30 2 0 0 2 0 0 0 0 0
+fn=A::B::e()
+33 3 0 0 0 0 0 2 0 0
+34 5 0 0 3 0 0 1 0 0
+35 2 0 0 2 0 0 0 0 0
+fn=A::c()
+18 4 0 0 0 0 0 2 0 0
+19 3 0 0 0 0 0 1 0 0
+20 3 0 0 0 0 0 1 0 0
+21 4 0 0 3 0 0 0 0 0
+22 2 0 0 2 0 0 0 0 0
+fn=Foo::bar(int)
+40 5 0 0 0 0 0 3 0 0
+41 9 0 0 5 0 0 1 0 0
+42 2 0 0 2 0 0 0 0 0
+fn=Foo::baz(int, int)
+44 5 0 0 0 0 0 4 0 0
+45 3 0 0 2 0 0 0 0 0
+46 2 0 0 2 0 0 0 0 0
+fn=main
+48 5 1 1 0 0 0 3 0 0
+49 3 0 0 0 0 0 1 0 0
+50 3 0 0 0 0 0 1 0 0
+51 4 0 0 0 0 0 1 0 0
+52 3 0 0 0 0 0 1 0 0
+53 1 0 0 0 0 0 0 0 0
+54 2 0 0 2 0 0 0 0 0
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.h
+fn=Foo::Foo()
+16 7 1 1 3 0 0 3 0 0
+fl=???
+fn=(below main)
+0 57 4 4 17 2 0 17 0 0
+fn=???
+0 718 79 74 300 55 11 185 12 8
+fn=_Exit
+0 8 1 1 1 1 0 0 0 0
+fn=_IO_cleanup
+0 53 3 3 15 1 1 9 0 0
+fn=_IO_flush_all_lockp
+0 82 7 7 22 12 9 14 0 0
+fn=__cxa_atexit
+0 75 3 3 15 0 0 24 1 1
+fn=__cxa_finalize
+0 279 6 6 72 1 1 28 0 0
+fn=__init_misc
+0 24 2 2 7 1 0 5 2 1
+fn=__libc_csu_init
+0 25 3 3 7 0 0 7 0 0
+fn=__libc_fini
+0 6 0 0 3 0 0 1 0 0
+fn=__libc_global_ctors
+0 13 2 2 4 1 1 2 0 0
+fn=__libc_memalign
+0 1076 4 4 210 0 0 206 0 0
+fn=__new_exitfn
+0 111 6 6 30 5 5 10 0 0
+fn=__sigjmp_save
+0 9 0 0 2 0 0 2 0 0
+fn=__sigsetjmp
+0 246 5 5 64 0 0 104 1 1
+fn=__unregister_atfork
+0 32 2 2 12 1 1 4 0 0
+fn=_dl_add_to_slotinfo
+0 40 4 4 16 4 0 10 1 0
+fn=_dl_allocate_tls_init
+0 133 8 8 44 4 0 18 1 1
+fn=_dl_allocate_tls_storage
+0 267 3 3 7 0 0 229 28 28
+fn=_dl_cache_libcmp
+0 3198 5 5 431 26 26 0 0 0
+fn=_dl_catch_error
+0 432 3 3 144 0 0 204 2 2
+fn=_dl_check_all_versions
+0 124 3 3 19 0 0 11 0 0
+fn=_dl_check_map_versions
+0 3224 15 15 1055 15 15 403 28 28
+fn=_dl_debug_initialize
+0 76 3 3 24 2 1 4 0 0
+fn=_dl_debug_state
+0 2 0 0 2 0 0 0 0 0
+fn=_dl_determine_tlsoffset
+0 101 6 6 20 1 1 11 0 0
+fn=_dl_discover_osversion
+0 87 4 4 12 1 1 4 1 1
+fn=_dl_fini
+0 409 12 12 134 2 0 43 3 0
+fn=_dl_fixup
+0 437 6 6 158 34 1 42 0 0
+fn=_dl_important_hwcaps
+0 257 16 16 49 0 0 38 3 3
+fn=_dl_init
+0 104 5 5 25 3 0 15 0 0
+fn=_dl_init_paths
+0 1752 17 17 249 1 1 42 3 3
+fn=_dl_initial_error_catch_tsd
+0 26 1 1 13 0 0 0 0 0
+fn=_dl_load_cache_lookup
+0 1051 13 13 218 30 30 66 0 0
+fn=_dl_lookup_symbol_x
+0 525437 10 10 81620 1224 1065 27255 2 0
+fn=_dl_map_object
+0 2229 23 23 566 1 1 331 9 9
+fn=_dl_map_object_deps
+0 2706 28 28 517 3 2 191 3 2
+fn=_dl_map_object_from_fd
+0 4446 46 46 936 47 47 459 55 55
+fn=_dl_name_match_p
+0 5158 2 2 1384 15 0 798 2 2
+fn=_dl_new_object
+0 1241 13 13 237 8 8 231 36 36
+fn=_dl_next_ld_env_entry
+0 296 2 2 102 23 23 2 0 0
+fn=_dl_next_tls_modid
+0 16 1 1 6 0 0 2 0 0
+fn=_dl_protect_relro
+0 80 2 2 24 0 0 8 0 0
+fn=_dl_receive_error
+0 28 2 2 10 0 0 12 0 0
+fn=_dl_relocate_object
+0 183682 36 36 47167 2860 2097 14356 753 490
+fn=_dl_runtime_resolve
+0 126 2 2 54 0 0 48 0 0
+fn=_dl_setup_hash
+0 203 2 2 49 10 10 42 1 1
+fn=_dl_sort_fini
+0 666 6 6 172 5 0 24 0 0
+fn=_dl_start
+0 397 17 16 48 14 12 40 12 12
+fn=_dl_sysdep_read_whole_file
+0 42 3 3 6 0 0 9 0 0
+fn=_dl_sysdep_start
+0 395 13 13 108 16 15 27 2 2
+fn=_dl_sysdep_start_cleanup
+0 1 0 0 1 0 0 0 0 0
+fn=_dl_unload_cache
+0 10 0 0 3 0 0 2 0 0
+fn=_dl_vdso_vsym
+0 16 1 1 6 1 0 0 0 0
+fn=_fxstat
+0 60 1 1 6 0 0 0 0 0
+fn=_init
+0 136 9 9 22 4 1 18 5 4
+fn=_setjmp
+0 2 1 1 0 0 0 0 0 0
+fn=_xstat
+0 199 1 1 16 0 0 13 0 0
+fn=access
+0 11 1 1 1 0 0 1 0 0
+fn=brk
+0 11 1 1 1 0 0 1 1 1
+fn=bsearch
+0 3388 3 3 416 0 0 585 1 0
+fn=call_init
+0 307 5 5 105 17 0 60 0 0
+fn=calloc
+0 126 2 2 0 0 0 0 0 0
+fn=check_match.8652
+0 68242 7 7 23556 162 99 5915 0 0
+fn=close
+0 30 0 0 6 0 0 0 0 0
+fn=dl_main
+0 1126 63 63 289 32 19 128 14 14
+fn=do_lookup_x
+0 326670 13 13 104430 1862 504 46233 1 0
+fn=do_preload
+0 28 3 3 7 0 0 9 0 0
+fn=exit
+0 76 4 4 11 1 1 10 0 0
+fn=expand_dynamic_string_token
+0 32 3 3 6 0 0 9 0 0
+fn=fillin_rpath
+0 513 16 16 94 0 0 85 4 4
+fn=handle_intel
+0 195 4 4 26 0 0 45 1 1
+fn=index
+0 687 2 2 62 7 7 0 0 0
+fn=init_cacheinfo
+0 106 8 8 4 0 0 10 3 3
+fn=init_tls
+0 86 4 4 22 2 1 14 0 0
+fn=intel_02_known_compare
+0 1218 1 1 528 20 20 0 0 0
+fn=intel_check_word
+0 921 7 7 95 0 0 146 1 1
+fn=local_strdup
+0 68 1 1 8 0 0 16 0 0
+fn=malloc
+0 114 0 0 0 0 0 0 0 0
+fn=map_doit
+0 15 2 2 6 0 0 4 0 0
+fn=match_symbol
+0 1251 4 4 465 24 24 144 0 0
+fn=memcpy
+0 862 6 6 143 0 0 119 15 15
+fn=mempcpy
+0 2443 6 6 384 2 1 305 11 11
+fn=memset
+0 1042 3 3 7 0 0 515 67 67
+fn=mmap
+0 108 2 2 18 0 0 0 0 0
+fn=mprotect
+0 45 1 1 9 0 0 0 0 0
+fn=munmap
+0 5 0 0 1 0 0 0 0 0
+fn=open
+0 305 1 1 31 0 0 25 0 0
+fn=open_path
+0 2236 14 14 802 0 0 239 1 1
+fn=open_verify
+0 1879 11 11 604 7 7 325 4 4
+fn=openaux
+0 231 2 2 88 0 0 44 1 1
+fn=process_envvars
+0 230 9 9 74 4 4 16 3 3
+fn=read
+0 25 1 1 5 0 0 0 0 0
+fn=rindex
+0 105 3 3 6 2 1 0 0 0
+fn=rtld_lock_default_lock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=rtld_lock_default_unlock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=sbrk
+0 17 2 2 5 0 0 2 1 1
+fn=strcmp
+0 110867 2 2 32622 70 20 0 0 0
+fn=strlen
+0 776 2 2 99 2 2 0 0 0
+fn=strsep
+0 5157 3 3 821 0 0 8 0 0
+fn=uname
+0 5 1 1 1 0 0 0 0 0
+fn=version_check_doit
+0 10 1 1 4 0 0 2 0 0
+summary: 1273787 700 694 302365 6648 4096 100676 1095 817
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testExec/template_cachegrind_5774.txt b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testExec/template_cachegrind_5774.txt
new file mode 100644
index 0000000..2c6ddb2
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testExec/template_cachegrind_5774.txt
@@ -0,0 +1,244 @@
+desc: I1 cache: 32768 B, 64 B, 8-way associative
+desc: D1 cache: 32768 B, 64 B, 8-way associative
+desc: L2 cache: 6291456 B, 64 B, 24-way associative
+cmd: XXXXXXXXXXXX/multiProcTest/Debug/multiProcTest
+events: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+fl=XXXXXXXXXXXX/multiProcTest/Debug/../parent.cpp
+fn=A::A()
+8 7 1 1 3 0 0 3 0 0
+fn=A::B::B()
+17 7 1 1 3 0 0 3 0 0
+fn=A::B::d()
+18 4 0 0 0 0 0 2 0 0
+19 5 0 0 3 0 0 1 0 0
+20 3 1 1 1 0 0 1 0 0
+21 2 0 0 2 0 0 0 0 0
+fn=A::B::e()
+24 3 0 0 0 0 0 2 0 0
+25 5 0 0 3 0 0 1 0 0
+26 2 0 0 2 0 0 0 0 0
+fn=A::c()
+9 4 0 0 0 0 0 2 0 0
+10 3 0 0 0 0 0 1 0 0
+11 3 0 0 0 0 0 1 0 0
+12 4 0 0 3 0 0 0 0 0
+13 2 0 0 2 0 0 0 0 0
+fn=main
+31 3 0 0 0 0 0 1 0 0
+32 5 1 1 0 0 0 1 0 0
+33 3 0 0 0 0 0 1 0 0
+34 4 0 0 0 0 0 1 0 0
+40 1 0 0 0 0 0 0 0 0
+41 2 0 0 2 0 0 0 0 0
+fl=???
+fn=(below main)
+0 57 4 4 17 2 0 17 0 0
+fn=???
+0 723 79 74 303 53 10 187 12 8
+fn=_Exit
+0 8 1 1 1 1 0 0 0 0
+fn=_IO_cleanup
+0 53 3 3 15 1 1 9 0 0
+fn=_IO_flush_all_lockp
+0 82 7 7 22 11 8 14 0 0
+fn=_IO_list_lock
+0 12 2 2 6 1 1 1 0 0
+fn=_IO_list_unlock
+0 11 1 1 4 0 0 2 0 0
+fn=__cxa_atexit
+0 75 3 3 15 0 0 24 1 1
+fn=__cxa_finalize
+0 279 6 6 72 1 1 28 0 0
+fn=__init_misc
+0 24 2 2 7 1 0 5 2 1
+fn=__libc_csu_init
+0 25 2 2 7 0 0 7 0 0
+fn=__libc_fini
+0 6 0 0 3 0 0 1 0 0
+fn=__libc_global_ctors
+0 13 2 2 4 1 1 2 0 0
+fn=__libc_memalign
+0 1076 4 4 210 0 0 206 0 0
+fn=__new_exitfn
+0 111 6 6 30 5 5 10 0 0
+fn=__sigjmp_save
+0 9 0 0 2 0 0 2 0 0
+fn=__sigsetjmp
+0 246 5 5 64 0 0 104 1 1
+fn=__unregister_atfork
+0 32 2 2 12 0 0 4 0 0
+fn=_dl_add_to_slotinfo
+0 40 4 4 16 4 0 10 1 0
+fn=_dl_allocate_tls_init
+0 133 8 8 44 4 0 18 1 1
+fn=_dl_allocate_tls_storage
+0 267 3 3 7 0 0 229 28 28
+fn=_dl_cache_libcmp
+0 3198 5 5 431 26 26 0 0 0
+fn=_dl_catch_error
+0 432 3 3 144 0 0 204 2 2
+fn=_dl_check_all_versions
+0 124 3 3 19 0 0 11 0 0
+fn=_dl_check_map_versions
+0 3224 15 15 1055 14 14 403 28 28
+fn=_dl_debug_initialize
+0 76 3 3 24 2 1 4 0 0
+fn=_dl_debug_state
+0 2 0 0 2 0 0 0 0 0
+fn=_dl_determine_tlsoffset
+0 101 6 6 20 1 1 11 0 0
+fn=_dl_discover_osversion
+0 87 4 4 12 1 1 4 1 1
+fn=_dl_fini
+0 409 12 12 134 2 0 43 3 0
+fn=_dl_fixup
+0 511 6 6 185 34 2 49 0 0
+fn=_dl_important_hwcaps
+0 257 16 16 49 0 0 38 3 3
+fn=_dl_init
+0 104 5 5 25 3 0 15 0 0
+fn=_dl_init_paths
+0 1752 17 17 249 1 1 42 3 3
+fn=_dl_initial_error_catch_tsd
+0 26 1 1 13 0 0 0 0 0
+fn=_dl_load_cache_lookup
+0 1051 13 13 218 30 30 66 0 0
+fn=_dl_lookup_symbol_x
+0 525566 10 10 81654 1223 1065 27278 2 0
+fn=_dl_map_object
+0 2229 23 23 566 1 1 331 9 9
+fn=_dl_map_object_deps
+0 2706 28 28 517 3 2 191 3 2
+fn=_dl_map_object_from_fd
+0 4446 46 46 936 47 47 459 55 55
+fn=_dl_name_match_p
+0 5288 2 2 1419 15 0 818 2 2
+fn=_dl_new_object
+0 1241 13 13 237 8 8 231 36 36
+fn=_dl_next_ld_env_entry
+0 296 2 2 102 23 23 2 0 0
+fn=_dl_next_tls_modid
+0 16 1 1 6 0 0 2 0 0
+fn=_dl_protect_relro
+0 80 2 2 24 0 0 8 0 0
+fn=_dl_receive_error
+0 28 2 2 10 0 0 12 0 0
+fn=_dl_relocate_object
+0 183718 36 36 47179 2861 2100 14356 753 490
+fn=_dl_runtime_resolve
+0 147 2 2 63 0 0 56 0 0
+fn=_dl_setup_hash
+0 203 2 2 49 10 10 42 1 1
+fn=_dl_sort_fini
+0 666 6 6 172 5 0 24 0 0
+fn=_dl_start
+0 397 17 16 48 14 12 40 12 12
+fn=_dl_sysdep_read_whole_file
+0 42 3 3 6 0 0 9 0 0
+fn=_dl_sysdep_start
+0 395 13 13 108 16 15 27 2 2
+fn=_dl_sysdep_start_cleanup
+0 1 0 0 1 0 0 0 0 0
+fn=_dl_unload_cache
+0 10 0 0 3 0 0 2 0 0
+fn=_dl_vdso_vsym
+0 16 1 1 6 1 0 0 0 0
+fn=_fxstat
+0 60 1 1 6 0 0 0 0 0
+fn=_init
+0 136 9 9 22 4 1 18 5 4
+fn=_setjmp
+0 2 1 1 0 0 0 0 0 0
+fn=_xstat
+0 199 1 1 16 0 0 13 0 0
+fn=access
+0 11 1 1 1 0 0 1 0 0
+fn=brk
+0 11 1 1 1 0 0 1 1 1
+fn=bsearch
+0 3388 3 3 416 0 0 585 1 0
+fn=call_init
+0 307 5 5 105 17 0 60 0 0
+fn=calloc
+0 126 2 2 0 0 0 0 0 0
+fn=check_match.8652
+0 68308 7 7 23580 165 102 5922 0 0
+fn=close
+0 30 0 0 6 0 0 0 0 0
+fn=dl_main
+0 1126 63 63 289 32 19 128 14 14
+fn=do_lookup_x
+0 327134 13 13 104586 1864 506 46308 1 0
+fn=do_preload
+0 28 3 3 7 0 0 9 0 0
+fn=exit
+0 76 4 4 11 1 1 10 0 0
+fn=expand_dynamic_string_token
+0 32 3 3 6 0 0 9 0 0
+fn=fillin_rpath
+0 513 16 16 94 0 0 85 4 4
+fn=fork
+0 45 6 6 11 1 1 9 0 0
+fn=handle_intel
+0 195 4 4 26 0 0 45 1 1
+fn=index
+0 723 2 2 66 7 7 0 0 0
+fn=init_cacheinfo
+0 106 8 8 4 0 0 10 3 3
+fn=init_tls
+0 86 4 4 22 3 1 14 0 0
+fn=intel_02_known_compare
+0 1218 1 1 528 20 20 0 0 0
+fn=intel_check_word
+0 921 7 7 95 0 0 146 1 1
+fn=local_strdup
+0 68 1 1 8 0 0 16 0 0
+fn=malloc
+0 114 0 0 0 0 0 0 0 0
+fn=map_doit
+0 15 2 2 6 0 0 4 0 0
+fn=match_symbol
+0 1251 4 4 465 24 24 144 0 0
+fn=memcpy
+0 862 6 6 143 0 0 119 15 15
+fn=mempcpy
+0 2443 6 6 384 2 1 305 11 11
+fn=memset
+0 1042 3 3 7 0 0 515 67 67
+fn=mmap
+0 108 2 2 18 0 0 0 0 0
+fn=mprotect
+0 45 1 1 9 0 0 0 0 0
+fn=munmap
+0 5 0 0 1 0 0 0 0 0
+fn=open
+0 305 1 1 31 0 0 25 0 0
+fn=open_path
+0 2236 14 14 802 0 0 239 1 1
+fn=open_verify
+0 1879 11 11 604 7 7 325 4 4
+fn=openaux
+0 231 2 2 88 0 0 44 1 1
+fn=process_envvars
+0 230 9 9 74 4 4 16 3 3
+fn=read
+0 25 1 1 5 0 0 0 0 0
+fn=rindex
+0 123 3 3 7 3 1 0 0 0
+fn=rtld_lock_default_lock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=rtld_lock_default_unlock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=sbrk
+0 17 2 2 5 0 0 2 1 1
+fn=strcmp
+0 111123 2 2 32706 73 22 0 0 0
+fn=strlen
+0 800 2 2 103 2 2 0 0 0
+fn=strsep
+0 5157 3 3 821 0 0 8 0 0
+fn=uname
+0 5 1 1 1 0 0 0 0 0
+fn=version_check_doit
+0 10 1 1 4 0 0 2 0 0
+summary: 1275078 708 702 302765 6655 4105 100816 1095 817
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testExec/template_cachegrind_5779.txt b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testExec/template_cachegrind_5779.txt
new file mode 100644
index 0000000..1c726b9
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testExec/template_cachegrind_5779.txt
@@ -0,0 +1,250 @@
+desc: I1 cache: 32768 B, 64 B, 8-way associative
+desc: D1 cache: 32768 B, 64 B, 8-way associative
+desc: L2 cache: 6291456 B, 64 B, 24-way associative
+cmd: ../cpptest/Debug/cpptest
+events: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.cpp
+fn=A::A()
+17 7 1 1 3 0 0 3 0 0
+fn=A::B::B()
+26 7 1 1 3 0 0 3 0 0
+fn=A::B::d()
+27 4 0 0 0 0 0 2 0 0
+28 5 0 0 3 0 0 1 0 0
+29 3 0 0 1 0 0 1 0 0
+30 2 0 0 2 0 0 0 0 0
+fn=A::B::e()
+33 3 0 0 0 0 0 2 0 0
+34 5 0 0 3 0 0 1 0 0
+35 2 0 0 2 0 0 0 0 0
+fn=A::c()
+18 4 0 0 0 0 0 2 0 0
+19 3 0 0 0 0 0 1 0 0
+20 3 0 0 0 0 0 1 0 0
+21 4 0 0 3 0 0 0 0 0
+22 2 0 0 2 0 0 0 0 0
+fn=Foo::bar(int)
+40 5 0 0 0 0 0 3 0 0
+41 9 0 0 5 0 0 1 0 0
+42 2 0 0 2 0 0 0 0 0
+fn=Foo::baz(int, int)
+44 5 0 0 0 0 0 4 0 0
+45 3 0 0 2 0 0 0 0 0
+46 2 0 0 2 0 0 0 0 0
+fn=main
+48 5 1 1 0 0 0 3 0 0
+49 3 0 0 0 0 0 1 0 0
+50 3 0 0 0 0 0 1 0 0
+51 4 0 0 0 0 0 1 0 0
+52 3 0 0 0 0 0 1 0 0
+53 1 0 0 0 0 0 0 0 0
+54 2 0 0 2 0 0 0 0 0
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.h
+fn=Foo::Foo()
+16 7 1 1 3 0 0 3 0 0
+fl=???
+fn=(below main)
+0 57 4 4 17 2 0 17 0 0
+fn=???
+0 718 79 74 300 55 11 185 12 8
+fn=_Exit
+0 8 1 1 1 1 0 0 0 0
+fn=_IO_cleanup
+0 53 3 3 15 1 1 9 0 0
+fn=_IO_flush_all_lockp
+0 82 7 7 22 12 9 14 0 0
+fn=__cxa_atexit
+0 75 3 3 15 0 0 24 1 1
+fn=__cxa_finalize
+0 279 6 6 72 1 1 28 0 0
+fn=__init_misc
+0 24 2 2 7 1 0 5 2 1
+fn=__libc_csu_init
+0 25 3 3 7 0 0 7 0 0
+fn=__libc_fini
+0 6 0 0 3 0 0 1 0 0
+fn=__libc_global_ctors
+0 13 2 2 4 1 1 2 0 0
+fn=__libc_memalign
+0 1076 4 4 210 0 0 206 0 0
+fn=__new_exitfn
+0 111 6 6 30 5 5 10 0 0
+fn=__sigjmp_save
+0 9 0 0 2 0 0 2 0 0
+fn=__sigsetjmp
+0 246 5 5 64 0 0 104 1 1
+fn=__unregister_atfork
+0 32 2 2 12 1 1 4 0 0
+fn=_dl_add_to_slotinfo
+0 40 4 4 16 4 0 10 1 0
+fn=_dl_allocate_tls_init
+0 133 8 8 44 4 0 18 1 1
+fn=_dl_allocate_tls_storage
+0 267 3 3 7 0 0 229 28 28
+fn=_dl_cache_libcmp
+0 3198 5 5 431 26 26 0 0 0
+fn=_dl_catch_error
+0 432 3 3 144 0 0 204 2 2
+fn=_dl_check_all_versions
+0 124 3 3 19 0 0 11 0 0
+fn=_dl_check_map_versions
+0 3224 15 15 1055 15 15 403 28 28
+fn=_dl_debug_initialize
+0 76 3 3 24 2 1 4 0 0
+fn=_dl_debug_state
+0 2 0 0 2 0 0 0 0 0
+fn=_dl_determine_tlsoffset
+0 101 6 6 20 1 1 11 0 0
+fn=_dl_discover_osversion
+0 87 4 4 12 1 1 4 1 1
+fn=_dl_fini
+0 409 12 12 134 2 0 43 3 0
+fn=_dl_fixup
+0 437 6 6 158 34 1 42 0 0
+fn=_dl_important_hwcaps
+0 257 16 16 49 0 0 38 3 3
+fn=_dl_init
+0 104 5 5 25 3 0 15 0 0
+fn=_dl_init_paths
+0 1752 17 17 249 1 1 42 3 3
+fn=_dl_initial_error_catch_tsd
+0 26 1 1 13 0 0 0 0 0
+fn=_dl_load_cache_lookup
+0 1051 13 13 218 30 30 66 0 0
+fn=_dl_lookup_symbol_x
+0 525437 10 10 81620 1224 1065 27255 2 0
+fn=_dl_map_object
+0 2229 23 23 566 1 1 331 9 9
+fn=_dl_map_object_deps
+0 2706 28 28 517 3 2 191 3 2
+fn=_dl_map_object_from_fd
+0 4446 46 46 936 47 47 459 55 55
+fn=_dl_name_match_p
+0 5158 2 2 1384 15 0 798 2 2
+fn=_dl_new_object
+0 1241 13 13 237 8 8 231 36 36
+fn=_dl_next_ld_env_entry
+0 303 2 2 104 22 22 2 0 0
+fn=_dl_next_tls_modid
+0 16 1 1 6 0 0 2 0 0
+fn=_dl_protect_relro
+0 80 2 2 24 0 0 8 0 0
+fn=_dl_receive_error
+0 28 2 2 10 0 0 12 0 0
+fn=_dl_relocate_object
+0 183682 36 36 47167 2860 2097 14356 753 490
+fn=_dl_runtime_resolve
+0 126 2 2 54 0 0 48 0 0
+fn=_dl_setup_hash
+0 203 2 2 49 10 10 42 1 1
+fn=_dl_sort_fini
+0 666 6 6 172 5 0 24 0 0
+fn=_dl_start
+0 397 17 16 48 14 12 40 12 12
+fn=_dl_sysdep_read_whole_file
+0 42 3 3 6 0 0 9 0 0
+fn=_dl_sysdep_start
+0 398 13 13 109 16 15 27 2 2
+fn=_dl_sysdep_start_cleanup
+0 1 0 0 1 0 0 0 0 0
+fn=_dl_unload_cache
+0 10 0 0 3 0 0 2 0 0
+fn=_dl_vdso_vsym
+0 16 1 1 6 1 0 0 0 0
+fn=_fxstat
+0 60 1 1 6 0 0 0 0 0
+fn=_init
+0 136 9 9 22 4 1 18 5 4
+fn=_setjmp
+0 2 1 1 0 0 0 0 0 0
+fn=_xstat
+0 199 1 1 16 0 0 13 0 0
+fn=access
+0 11 1 1 1 0 0 1 0 0
+fn=brk
+0 11 1 1 1 0 0 1 1 1
+fn=bsearch
+0 3388 3 3 416 0 0 585 1 0
+fn=call_init
+0 307 5 5 105 17 0 60 0 0
+fn=calloc
+0 126 2 2 0 0 0 0 0 0
+fn=check_match.8652
+0 68242 7 7 23556 162 99 5915 0 0
+fn=close
+0 30 0 0 6 0 0 0 0 0
+fn=dl_main
+0 1135 63 63 291 32 19 129 14 14
+fn=do_lookup_x
+0 326670 13 13 104430 1862 504 46233 1 0
+fn=do_preload
+0 28 3 3 7 0 0 9 0 0
+fn=exit
+0 76 4 4 11 1 1 10 0 0
+fn=expand_dynamic_string_token
+0 32 3 3 6 0 0 9 0 0
+fn=fillin_rpath
+0 513 16 16 94 0 0 85 4 4
+fn=handle_intel
+0 195 4 4 26 0 0 45 1 1
+fn=index
+0 687 2 2 62 8 8 0 0 0
+fn=init_cacheinfo
+0 106 8 8 4 0 0 10 3 3
+fn=init_tls
+0 86 4 4 22 2 1 14 0 0
+fn=intel_02_known_compare
+0 1218 1 1 528 20 20 0 0 0
+fn=intel_check_word
+0 921 7 7 95 0 0 146 1 1
+fn=local_strdup
+0 68 1 1 8 0 0 16 0 0
+fn=malloc
+0 114 0 0 0 0 0 0 0 0
+fn=map_doit
+0 15 2 2 6 0 0 4 0 0
+fn=match_symbol
+0 1251 4 4 465 24 24 144 0 0
+fn=memcpy
+0 870 6 6 144 0 0 120 15 15
+fn=mempcpy
+0 2443 6 6 384 2 1 305 11 11
+fn=memset
+0 1042 3 3 7 0 0 515 67 67
+fn=mmap
+0 108 2 2 18 0 0 0 0 0
+fn=mprotect
+0 45 1 1 9 0 0 0 0 0
+fn=munmap
+0 5 0 0 1 0 0 0 0 0
+fn=open
+0 305 1 1 31 0 0 25 0 0
+fn=open_path
+0 2236 14 14 802 0 0 239 1 1
+fn=open_verify
+0 1879 11 11 604 7 7 325 4 4
+fn=openaux
+0 231 2 2 88 0 0 44 1 1
+fn=process_envvars
+0 230 9 9 74 4 4 16 3 3
+fn=read
+0 25 1 1 5 0 0 0 0 0
+fn=rindex
+0 52 3 3 3 1 0 0 0 0
+fn=rtld_lock_default_lock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=rtld_lock_default_unlock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=sbrk
+0 17 2 2 5 0 0 2 1 1
+fn=strcmp
+0 110867 2 2 32622 70 20 0 0 0
+fn=strlen
+0 776 2 2 99 2 2 0 0 0
+fn=strsep
+0 5185 3 3 826 0 0 10 0 0
+fn=uname
+0 5 1 1 1 0 0 0 0 0
+fn=version_check_doit
+0 10 1 1 4 0 0 2 0 0
+summary: 1273789 700 694 302373 6647 4095 100680 1095 817
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testFileLabelsCPP/template_cachegrind_4644.txt b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testFileLabelsCPP/template_cachegrind_4644.txt
new file mode 100644
index 0000000..6ebabc9
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testFileLabelsCPP/template_cachegrind_4644.txt
@@ -0,0 +1,250 @@
+desc: I1 cache: 32768 B, 64 B, 8-way associative
+desc: D1 cache: 32768 B, 64 B, 8-way associative
+desc: L2 cache: 6291456 B, 64 B, 24-way associative
+cmd: XXXXXXXXXXXX/cpptest/Debug/cpptest
+events: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.cpp
+fn=A::A()
+17 7 1 1 3 0 0 3 0 0
+fn=A::B::B()
+26 7 1 1 3 0 0 3 0 0
+fn=A::B::d()
+27 4 0 0 0 0 0 2 0 0
+28 5 0 0 3 0 0 1 0 0
+29 3 0 0 1 0 0 1 0 0
+30 2 0 0 2 0 0 0 0 0
+fn=A::B::e()
+33 3 0 0 0 0 0 2 0 0
+34 5 0 0 3 0 0 1 0 0
+35 2 0 0 2 0 0 0 0 0
+fn=A::c()
+18 4 0 0 0 0 0 2 0 0
+19 3 0 0 0 0 0 1 0 0
+20 3 0 0 0 0 0 1 0 0
+21 4 0 0 3 0 0 0 0 0
+22 2 0 0 2 0 0 0 0 0
+fn=Foo::bar(int)
+40 5 0 0 0 0 0 3 0 0
+41 9 0 0 5 0 0 1 0 0
+42 2 0 0 2 0 0 0 0 0
+fn=Foo::baz(int, int)
+44 5 0 0 0 0 0 4 0 0
+45 3 0 0 2 0 0 0 0 0
+46 2 0 0 2 0 0 0 0 0
+fn=main
+48 5 1 1 0 0 0 3 0 0
+49 3 0 0 0 0 0 1 0 0
+50 3 0 0 0 0 0 1 0 0
+51 4 0 0 0 0 0 1 0 0
+52 3 0 0 0 0 0 1 0 0
+53 1 0 0 0 0 0 0 0 0
+54 2 0 0 2 0 0 0 0 0
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.h
+fn=Foo::Foo()
+16 7 1 1 3 0 0 3 0 0
+fl=???
+fn=(below main)
+0 57 4 4 17 2 0 17 0 0
+fn=???
+0 718 79 74 300 55 11 185 12 8
+fn=_Exit
+0 8 1 1 1 1 0 0 0 0
+fn=_IO_cleanup
+0 53 3 3 15 1 1 9 0 0
+fn=_IO_flush_all_lockp
+0 82 7 7 22 12 9 14 0 0
+fn=__cxa_atexit
+0 75 3 3 15 0 0 24 1 1
+fn=__cxa_finalize
+0 279 6 6 72 1 1 28 0 0
+fn=__init_misc
+0 24 2 2 7 1 0 5 2 1
+fn=__libc_csu_init
+0 25 3 3 7 0 0 7 0 0
+fn=__libc_fini
+0 6 0 0 3 0 0 1 0 0
+fn=__libc_global_ctors
+0 13 2 2 4 1 1 2 0 0
+fn=__libc_memalign
+0 1076 4 4 210 0 0 206 0 0
+fn=__new_exitfn
+0 111 6 6 30 5 5 10 0 0
+fn=__sigjmp_save
+0 9 0 0 2 0 0 2 0 0
+fn=__sigsetjmp
+0 246 5 5 64 0 0 104 1 1
+fn=__unregister_atfork
+0 32 2 2 12 1 1 4 0 0
+fn=_dl_add_to_slotinfo
+0 40 4 4 16 4 0 10 1 0
+fn=_dl_allocate_tls_init
+0 133 8 8 44 4 0 18 1 1
+fn=_dl_allocate_tls_storage
+0 267 3 3 7 0 0 229 28 28
+fn=_dl_cache_libcmp
+0 3198 5 5 431 26 26 0 0 0
+fn=_dl_catch_error
+0 432 3 3 144 0 0 204 2 2
+fn=_dl_check_all_versions
+0 124 3 3 19 0 0 11 0 0
+fn=_dl_check_map_versions
+0 3224 15 15 1055 15 15 403 28 28
+fn=_dl_debug_initialize
+0 76 3 3 24 2 1 4 0 0
+fn=_dl_debug_state
+0 2 0 0 2 0 0 0 0 0
+fn=_dl_determine_tlsoffset
+0 101 6 6 20 1 1 11 0 0
+fn=_dl_discover_osversion
+0 87 4 4 12 1 1 4 1 1
+fn=_dl_fini
+0 409 12 12 134 2 0 43 3 0
+fn=_dl_fixup
+0 437 6 6 158 34 1 42 0 0
+fn=_dl_important_hwcaps
+0 257 16 16 49 0 0 38 3 3
+fn=_dl_init
+0 104 5 5 25 3 0 15 0 0
+fn=_dl_init_paths
+0 1752 17 17 249 1 1 42 3 3
+fn=_dl_initial_error_catch_tsd
+0 26 1 1 13 0 0 0 0 0
+fn=_dl_load_cache_lookup
+0 1051 13 13 218 30 30 66 0 0
+fn=_dl_lookup_symbol_x
+0 525437 10 10 81620 1224 1065 27255 2 0
+fn=_dl_map_object
+0 2229 23 23 566 1 1 331 9 9
+fn=_dl_map_object_deps
+0 2706 28 28 517 3 2 191 3 2
+fn=_dl_map_object_from_fd
+0 4446 46 46 936 47 47 459 55 55
+fn=_dl_name_match_p
+0 5158 2 2 1384 15 0 798 2 2
+fn=_dl_new_object
+0 1241 13 13 237 8 8 231 36 36
+fn=_dl_next_ld_env_entry
+0 296 2 2 102 23 23 2 0 0
+fn=_dl_next_tls_modid
+0 16 1 1 6 0 0 2 0 0
+fn=_dl_protect_relro
+0 80 2 2 24 0 0 8 0 0
+fn=_dl_receive_error
+0 28 2 2 10 0 0 12 0 0
+fn=_dl_relocate_object
+0 183682 36 36 47167 2860 2097 14356 753 490
+fn=_dl_runtime_resolve
+0 126 2 2 54 0 0 48 0 0
+fn=_dl_setup_hash
+0 203 2 2 49 10 10 42 1 1
+fn=_dl_sort_fini
+0 666 6 6 172 5 0 24 0 0
+fn=_dl_start
+0 397 17 16 48 14 12 40 12 12
+fn=_dl_sysdep_read_whole_file
+0 42 3 3 6 0 0 9 0 0
+fn=_dl_sysdep_start
+0 395 13 13 108 16 15 27 2 2
+fn=_dl_sysdep_start_cleanup
+0 1 0 0 1 0 0 0 0 0
+fn=_dl_unload_cache
+0 10 0 0 3 0 0 2 0 0
+fn=_dl_vdso_vsym
+0 16 1 1 6 1 0 0 0 0
+fn=_fxstat
+0 60 1 1 6 0 0 0 0 0
+fn=_init
+0 136 9 9 22 4 1 18 5 4
+fn=_setjmp
+0 2 1 1 0 0 0 0 0 0
+fn=_xstat
+0 199 1 1 16 0 0 13 0 0
+fn=access
+0 11 1 1 1 0 0 1 0 0
+fn=brk
+0 11 1 1 1 0 0 1 1 1
+fn=bsearch
+0 3388 3 3 416 0 0 585 1 0
+fn=call_init
+0 307 5 5 105 17 0 60 0 0
+fn=calloc
+0 126 2 2 0 0 0 0 0 0
+fn=check_match.8652
+0 68242 7 7 23556 162 99 5915 0 0
+fn=close
+0 30 0 0 6 0 0 0 0 0
+fn=dl_main
+0 1126 63 63 289 32 19 128 14 14
+fn=do_lookup_x
+0 326670 13 13 104430 1862 504 46233 1 0
+fn=do_preload
+0 28 3 3 7 0 0 9 0 0
+fn=exit
+0 76 4 4 11 1 1 10 0 0
+fn=expand_dynamic_string_token
+0 32 3 3 6 0 0 9 0 0
+fn=fillin_rpath
+0 513 16 16 94 0 0 85 4 4
+fn=handle_intel
+0 195 4 4 26 0 0 45 1 1
+fn=index
+0 687 2 2 62 7 7 0 0 0
+fn=init_cacheinfo
+0 106 8 8 4 0 0 10 3 3
+fn=init_tls
+0 86 4 4 22 2 1 14 0 0
+fn=intel_02_known_compare
+0 1218 1 1 528 20 20 0 0 0
+fn=intel_check_word
+0 921 7 7 95 0 0 146 1 1
+fn=local_strdup
+0 68 1 1 8 0 0 16 0 0
+fn=malloc
+0 114 0 0 0 0 0 0 0 0
+fn=map_doit
+0 15 2 2 6 0 0 4 0 0
+fn=match_symbol
+0 1251 4 4 465 24 24 144 0 0
+fn=memcpy
+0 862 6 6 143 0 0 119 15 15
+fn=mempcpy
+0 2443 6 6 384 2 1 305 11 11
+fn=memset
+0 1042 3 3 7 0 0 515 67 67
+fn=mmap
+0 108 2 2 18 0 0 0 0 0
+fn=mprotect
+0 45 1 1 9 0 0 0 0 0
+fn=munmap
+0 5 0 0 1 0 0 0 0 0
+fn=open
+0 305 1 1 31 0 0 25 0 0
+fn=open_path
+0 2236 14 14 802 0 0 239 1 1
+fn=open_verify
+0 1879 11 11 604 7 7 325 4 4
+fn=openaux
+0 231 2 2 88 0 0 44 1 1
+fn=process_envvars
+0 230 9 9 74 4 4 16 3 3
+fn=read
+0 25 1 1 5 0 0 0 0 0
+fn=rindex
+0 105 3 3 6 2 1 0 0 0
+fn=rtld_lock_default_lock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=rtld_lock_default_unlock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=sbrk
+0 17 2 2 5 0 0 2 1 1
+fn=strcmp
+0 110867 2 2 32622 70 20 0 0 0
+fn=strlen
+0 776 2 2 99 2 2 0 0 0
+fn=strsep
+0 5157 3 3 821 0 0 8 0 0
+fn=uname
+0 5 1 1 1 0 0 0 0 0
+fn=version_check_doit
+0 10 1 1 4 0 0 2 0 0
+summary: 1273787 700 694 302365 6648 4096 100676 1095 817
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testFileLabelsH/template_cachegrind_4699.txt b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testFileLabelsH/template_cachegrind_4699.txt
new file mode 100644
index 0000000..6ebabc9
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testFileLabelsH/template_cachegrind_4699.txt
@@ -0,0 +1,250 @@
+desc: I1 cache: 32768 B, 64 B, 8-way associative
+desc: D1 cache: 32768 B, 64 B, 8-way associative
+desc: L2 cache: 6291456 B, 64 B, 24-way associative
+cmd: XXXXXXXXXXXX/cpptest/Debug/cpptest
+events: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.cpp
+fn=A::A()
+17 7 1 1 3 0 0 3 0 0
+fn=A::B::B()
+26 7 1 1 3 0 0 3 0 0
+fn=A::B::d()
+27 4 0 0 0 0 0 2 0 0
+28 5 0 0 3 0 0 1 0 0
+29 3 0 0 1 0 0 1 0 0
+30 2 0 0 2 0 0 0 0 0
+fn=A::B::e()
+33 3 0 0 0 0 0 2 0 0
+34 5 0 0 3 0 0 1 0 0
+35 2 0 0 2 0 0 0 0 0
+fn=A::c()
+18 4 0 0 0 0 0 2 0 0
+19 3 0 0 0 0 0 1 0 0
+20 3 0 0 0 0 0 1 0 0
+21 4 0 0 3 0 0 0 0 0
+22 2 0 0 2 0 0 0 0 0
+fn=Foo::bar(int)
+40 5 0 0 0 0 0 3 0 0
+41 9 0 0 5 0 0 1 0 0
+42 2 0 0 2 0 0 0 0 0
+fn=Foo::baz(int, int)
+44 5 0 0 0 0 0 4 0 0
+45 3 0 0 2 0 0 0 0 0
+46 2 0 0 2 0 0 0 0 0
+fn=main
+48 5 1 1 0 0 0 3 0 0
+49 3 0 0 0 0 0 1 0 0
+50 3 0 0 0 0 0 1 0 0
+51 4 0 0 0 0 0 1 0 0
+52 3 0 0 0 0 0 1 0 0
+53 1 0 0 0 0 0 0 0 0
+54 2 0 0 2 0 0 0 0 0
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.h
+fn=Foo::Foo()
+16 7 1 1 3 0 0 3 0 0
+fl=???
+fn=(below main)
+0 57 4 4 17 2 0 17 0 0
+fn=???
+0 718 79 74 300 55 11 185 12 8
+fn=_Exit
+0 8 1 1 1 1 0 0 0 0
+fn=_IO_cleanup
+0 53 3 3 15 1 1 9 0 0
+fn=_IO_flush_all_lockp
+0 82 7 7 22 12 9 14 0 0
+fn=__cxa_atexit
+0 75 3 3 15 0 0 24 1 1
+fn=__cxa_finalize
+0 279 6 6 72 1 1 28 0 0
+fn=__init_misc
+0 24 2 2 7 1 0 5 2 1
+fn=__libc_csu_init
+0 25 3 3 7 0 0 7 0 0
+fn=__libc_fini
+0 6 0 0 3 0 0 1 0 0
+fn=__libc_global_ctors
+0 13 2 2 4 1 1 2 0 0
+fn=__libc_memalign
+0 1076 4 4 210 0 0 206 0 0
+fn=__new_exitfn
+0 111 6 6 30 5 5 10 0 0
+fn=__sigjmp_save
+0 9 0 0 2 0 0 2 0 0
+fn=__sigsetjmp
+0 246 5 5 64 0 0 104 1 1
+fn=__unregister_atfork
+0 32 2 2 12 1 1 4 0 0
+fn=_dl_add_to_slotinfo
+0 40 4 4 16 4 0 10 1 0
+fn=_dl_allocate_tls_init
+0 133 8 8 44 4 0 18 1 1
+fn=_dl_allocate_tls_storage
+0 267 3 3 7 0 0 229 28 28
+fn=_dl_cache_libcmp
+0 3198 5 5 431 26 26 0 0 0
+fn=_dl_catch_error
+0 432 3 3 144 0 0 204 2 2
+fn=_dl_check_all_versions
+0 124 3 3 19 0 0 11 0 0
+fn=_dl_check_map_versions
+0 3224 15 15 1055 15 15 403 28 28
+fn=_dl_debug_initialize
+0 76 3 3 24 2 1 4 0 0
+fn=_dl_debug_state
+0 2 0 0 2 0 0 0 0 0
+fn=_dl_determine_tlsoffset
+0 101 6 6 20 1 1 11 0 0
+fn=_dl_discover_osversion
+0 87 4 4 12 1 1 4 1 1
+fn=_dl_fini
+0 409 12 12 134 2 0 43 3 0
+fn=_dl_fixup
+0 437 6 6 158 34 1 42 0 0
+fn=_dl_important_hwcaps
+0 257 16 16 49 0 0 38 3 3
+fn=_dl_init
+0 104 5 5 25 3 0 15 0 0
+fn=_dl_init_paths
+0 1752 17 17 249 1 1 42 3 3
+fn=_dl_initial_error_catch_tsd
+0 26 1 1 13 0 0 0 0 0
+fn=_dl_load_cache_lookup
+0 1051 13 13 218 30 30 66 0 0
+fn=_dl_lookup_symbol_x
+0 525437 10 10 81620 1224 1065 27255 2 0
+fn=_dl_map_object
+0 2229 23 23 566 1 1 331 9 9
+fn=_dl_map_object_deps
+0 2706 28 28 517 3 2 191 3 2
+fn=_dl_map_object_from_fd
+0 4446 46 46 936 47 47 459 55 55
+fn=_dl_name_match_p
+0 5158 2 2 1384 15 0 798 2 2
+fn=_dl_new_object
+0 1241 13 13 237 8 8 231 36 36
+fn=_dl_next_ld_env_entry
+0 296 2 2 102 23 23 2 0 0
+fn=_dl_next_tls_modid
+0 16 1 1 6 0 0 2 0 0
+fn=_dl_protect_relro
+0 80 2 2 24 0 0 8 0 0
+fn=_dl_receive_error
+0 28 2 2 10 0 0 12 0 0
+fn=_dl_relocate_object
+0 183682 36 36 47167 2860 2097 14356 753 490
+fn=_dl_runtime_resolve
+0 126 2 2 54 0 0 48 0 0
+fn=_dl_setup_hash
+0 203 2 2 49 10 10 42 1 1
+fn=_dl_sort_fini
+0 666 6 6 172 5 0 24 0 0
+fn=_dl_start
+0 397 17 16 48 14 12 40 12 12
+fn=_dl_sysdep_read_whole_file
+0 42 3 3 6 0 0 9 0 0
+fn=_dl_sysdep_start
+0 395 13 13 108 16 15 27 2 2
+fn=_dl_sysdep_start_cleanup
+0 1 0 0 1 0 0 0 0 0
+fn=_dl_unload_cache
+0 10 0 0 3 0 0 2 0 0
+fn=_dl_vdso_vsym
+0 16 1 1 6 1 0 0 0 0
+fn=_fxstat
+0 60 1 1 6 0 0 0 0 0
+fn=_init
+0 136 9 9 22 4 1 18 5 4
+fn=_setjmp
+0 2 1 1 0 0 0 0 0 0
+fn=_xstat
+0 199 1 1 16 0 0 13 0 0
+fn=access
+0 11 1 1 1 0 0 1 0 0
+fn=brk
+0 11 1 1 1 0 0 1 1 1
+fn=bsearch
+0 3388 3 3 416 0 0 585 1 0
+fn=call_init
+0 307 5 5 105 17 0 60 0 0
+fn=calloc
+0 126 2 2 0 0 0 0 0 0
+fn=check_match.8652
+0 68242 7 7 23556 162 99 5915 0 0
+fn=close
+0 30 0 0 6 0 0 0 0 0
+fn=dl_main
+0 1126 63 63 289 32 19 128 14 14
+fn=do_lookup_x
+0 326670 13 13 104430 1862 504 46233 1 0
+fn=do_preload
+0 28 3 3 7 0 0 9 0 0
+fn=exit
+0 76 4 4 11 1 1 10 0 0
+fn=expand_dynamic_string_token
+0 32 3 3 6 0 0 9 0 0
+fn=fillin_rpath
+0 513 16 16 94 0 0 85 4 4
+fn=handle_intel
+0 195 4 4 26 0 0 45 1 1
+fn=index
+0 687 2 2 62 7 7 0 0 0
+fn=init_cacheinfo
+0 106 8 8 4 0 0 10 3 3
+fn=init_tls
+0 86 4 4 22 2 1 14 0 0
+fn=intel_02_known_compare
+0 1218 1 1 528 20 20 0 0 0
+fn=intel_check_word
+0 921 7 7 95 0 0 146 1 1
+fn=local_strdup
+0 68 1 1 8 0 0 16 0 0
+fn=malloc
+0 114 0 0 0 0 0 0 0 0
+fn=map_doit
+0 15 2 2 6 0 0 4 0 0
+fn=match_symbol
+0 1251 4 4 465 24 24 144 0 0
+fn=memcpy
+0 862 6 6 143 0 0 119 15 15
+fn=mempcpy
+0 2443 6 6 384 2 1 305 11 11
+fn=memset
+0 1042 3 3 7 0 0 515 67 67
+fn=mmap
+0 108 2 2 18 0 0 0 0 0
+fn=mprotect
+0 45 1 1 9 0 0 0 0 0
+fn=munmap
+0 5 0 0 1 0 0 0 0 0
+fn=open
+0 305 1 1 31 0 0 25 0 0
+fn=open_path
+0 2236 14 14 802 0 0 239 1 1
+fn=open_verify
+0 1879 11 11 604 7 7 325 4 4
+fn=openaux
+0 231 2 2 88 0 0 44 1 1
+fn=process_envvars
+0 230 9 9 74 4 4 16 3 3
+fn=read
+0 25 1 1 5 0 0 0 0 0
+fn=rindex
+0 105 3 3 6 2 1 0 0 0
+fn=rtld_lock_default_lock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=rtld_lock_default_unlock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=sbrk
+0 17 2 2 5 0 0 2 1 1
+fn=strcmp
+0 110867 2 2 32622 70 20 0 0 0
+fn=strlen
+0 776 2 2 99 2 2 0 0 0
+fn=strsep
+0 5157 3 3 821 0 0 8 0 0
+fn=uname
+0 5 1 1 1 0 0 0 0 0
+fn=version_check_doit
+0 10 1 1 4 0 0 2 0 0
+summary: 1273787 700 694 302365 6648 4096 100676 1095 817
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testFileNames/template_cachegrind_4534.txt b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testFileNames/template_cachegrind_4534.txt
new file mode 100644
index 0000000..6ebabc9
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testFileNames/template_cachegrind_4534.txt
@@ -0,0 +1,250 @@
+desc: I1 cache: 32768 B, 64 B, 8-way associative
+desc: D1 cache: 32768 B, 64 B, 8-way associative
+desc: L2 cache: 6291456 B, 64 B, 24-way associative
+cmd: XXXXXXXXXXXX/cpptest/Debug/cpptest
+events: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.cpp
+fn=A::A()
+17 7 1 1 3 0 0 3 0 0
+fn=A::B::B()
+26 7 1 1 3 0 0 3 0 0
+fn=A::B::d()
+27 4 0 0 0 0 0 2 0 0
+28 5 0 0 3 0 0 1 0 0
+29 3 0 0 1 0 0 1 0 0
+30 2 0 0 2 0 0 0 0 0
+fn=A::B::e()
+33 3 0 0 0 0 0 2 0 0
+34 5 0 0 3 0 0 1 0 0
+35 2 0 0 2 0 0 0 0 0
+fn=A::c()
+18 4 0 0 0 0 0 2 0 0
+19 3 0 0 0 0 0 1 0 0
+20 3 0 0 0 0 0 1 0 0
+21 4 0 0 3 0 0 0 0 0
+22 2 0 0 2 0 0 0 0 0
+fn=Foo::bar(int)
+40 5 0 0 0 0 0 3 0 0
+41 9 0 0 5 0 0 1 0 0
+42 2 0 0 2 0 0 0 0 0
+fn=Foo::baz(int, int)
+44 5 0 0 0 0 0 4 0 0
+45 3 0 0 2 0 0 0 0 0
+46 2 0 0 2 0 0 0 0 0
+fn=main
+48 5 1 1 0 0 0 3 0 0
+49 3 0 0 0 0 0 1 0 0
+50 3 0 0 0 0 0 1 0 0
+51 4 0 0 0 0 0 1 0 0
+52 3 0 0 0 0 0 1 0 0
+53 1 0 0 0 0 0 0 0 0
+54 2 0 0 2 0 0 0 0 0
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.h
+fn=Foo::Foo()
+16 7 1 1 3 0 0 3 0 0
+fl=???
+fn=(below main)
+0 57 4 4 17 2 0 17 0 0
+fn=???
+0 718 79 74 300 55 11 185 12 8
+fn=_Exit
+0 8 1 1 1 1 0 0 0 0
+fn=_IO_cleanup
+0 53 3 3 15 1 1 9 0 0
+fn=_IO_flush_all_lockp
+0 82 7 7 22 12 9 14 0 0
+fn=__cxa_atexit
+0 75 3 3 15 0 0 24 1 1
+fn=__cxa_finalize
+0 279 6 6 72 1 1 28 0 0
+fn=__init_misc
+0 24 2 2 7 1 0 5 2 1
+fn=__libc_csu_init
+0 25 3 3 7 0 0 7 0 0
+fn=__libc_fini
+0 6 0 0 3 0 0 1 0 0
+fn=__libc_global_ctors
+0 13 2 2 4 1 1 2 0 0
+fn=__libc_memalign
+0 1076 4 4 210 0 0 206 0 0
+fn=__new_exitfn
+0 111 6 6 30 5 5 10 0 0
+fn=__sigjmp_save
+0 9 0 0 2 0 0 2 0 0
+fn=__sigsetjmp
+0 246 5 5 64 0 0 104 1 1
+fn=__unregister_atfork
+0 32 2 2 12 1 1 4 0 0
+fn=_dl_add_to_slotinfo
+0 40 4 4 16 4 0 10 1 0
+fn=_dl_allocate_tls_init
+0 133 8 8 44 4 0 18 1 1
+fn=_dl_allocate_tls_storage
+0 267 3 3 7 0 0 229 28 28
+fn=_dl_cache_libcmp
+0 3198 5 5 431 26 26 0 0 0
+fn=_dl_catch_error
+0 432 3 3 144 0 0 204 2 2
+fn=_dl_check_all_versions
+0 124 3 3 19 0 0 11 0 0
+fn=_dl_check_map_versions
+0 3224 15 15 1055 15 15 403 28 28
+fn=_dl_debug_initialize
+0 76 3 3 24 2 1 4 0 0
+fn=_dl_debug_state
+0 2 0 0 2 0 0 0 0 0
+fn=_dl_determine_tlsoffset
+0 101 6 6 20 1 1 11 0 0
+fn=_dl_discover_osversion
+0 87 4 4 12 1 1 4 1 1
+fn=_dl_fini
+0 409 12 12 134 2 0 43 3 0
+fn=_dl_fixup
+0 437 6 6 158 34 1 42 0 0
+fn=_dl_important_hwcaps
+0 257 16 16 49 0 0 38 3 3
+fn=_dl_init
+0 104 5 5 25 3 0 15 0 0
+fn=_dl_init_paths
+0 1752 17 17 249 1 1 42 3 3
+fn=_dl_initial_error_catch_tsd
+0 26 1 1 13 0 0 0 0 0
+fn=_dl_load_cache_lookup
+0 1051 13 13 218 30 30 66 0 0
+fn=_dl_lookup_symbol_x
+0 525437 10 10 81620 1224 1065 27255 2 0
+fn=_dl_map_object
+0 2229 23 23 566 1 1 331 9 9
+fn=_dl_map_object_deps
+0 2706 28 28 517 3 2 191 3 2
+fn=_dl_map_object_from_fd
+0 4446 46 46 936 47 47 459 55 55
+fn=_dl_name_match_p
+0 5158 2 2 1384 15 0 798 2 2
+fn=_dl_new_object
+0 1241 13 13 237 8 8 231 36 36
+fn=_dl_next_ld_env_entry
+0 296 2 2 102 23 23 2 0 0
+fn=_dl_next_tls_modid
+0 16 1 1 6 0 0 2 0 0
+fn=_dl_protect_relro
+0 80 2 2 24 0 0 8 0 0
+fn=_dl_receive_error
+0 28 2 2 10 0 0 12 0 0
+fn=_dl_relocate_object
+0 183682 36 36 47167 2860 2097 14356 753 490
+fn=_dl_runtime_resolve
+0 126 2 2 54 0 0 48 0 0
+fn=_dl_setup_hash
+0 203 2 2 49 10 10 42 1 1
+fn=_dl_sort_fini
+0 666 6 6 172 5 0 24 0 0
+fn=_dl_start
+0 397 17 16 48 14 12 40 12 12
+fn=_dl_sysdep_read_whole_file
+0 42 3 3 6 0 0 9 0 0
+fn=_dl_sysdep_start
+0 395 13 13 108 16 15 27 2 2
+fn=_dl_sysdep_start_cleanup
+0 1 0 0 1 0 0 0 0 0
+fn=_dl_unload_cache
+0 10 0 0 3 0 0 2 0 0
+fn=_dl_vdso_vsym
+0 16 1 1 6 1 0 0 0 0
+fn=_fxstat
+0 60 1 1 6 0 0 0 0 0
+fn=_init
+0 136 9 9 22 4 1 18 5 4
+fn=_setjmp
+0 2 1 1 0 0 0 0 0 0
+fn=_xstat
+0 199 1 1 16 0 0 13 0 0
+fn=access
+0 11 1 1 1 0 0 1 0 0
+fn=brk
+0 11 1 1 1 0 0 1 1 1
+fn=bsearch
+0 3388 3 3 416 0 0 585 1 0
+fn=call_init
+0 307 5 5 105 17 0 60 0 0
+fn=calloc
+0 126 2 2 0 0 0 0 0 0
+fn=check_match.8652
+0 68242 7 7 23556 162 99 5915 0 0
+fn=close
+0 30 0 0 6 0 0 0 0 0
+fn=dl_main
+0 1126 63 63 289 32 19 128 14 14
+fn=do_lookup_x
+0 326670 13 13 104430 1862 504 46233 1 0
+fn=do_preload
+0 28 3 3 7 0 0 9 0 0
+fn=exit
+0 76 4 4 11 1 1 10 0 0
+fn=expand_dynamic_string_token
+0 32 3 3 6 0 0 9 0 0
+fn=fillin_rpath
+0 513 16 16 94 0 0 85 4 4
+fn=handle_intel
+0 195 4 4 26 0 0 45 1 1
+fn=index
+0 687 2 2 62 7 7 0 0 0
+fn=init_cacheinfo
+0 106 8 8 4 0 0 10 3 3
+fn=init_tls
+0 86 4 4 22 2 1 14 0 0
+fn=intel_02_known_compare
+0 1218 1 1 528 20 20 0 0 0
+fn=intel_check_word
+0 921 7 7 95 0 0 146 1 1
+fn=local_strdup
+0 68 1 1 8 0 0 16 0 0
+fn=malloc
+0 114 0 0 0 0 0 0 0 0
+fn=map_doit
+0 15 2 2 6 0 0 4 0 0
+fn=match_symbol
+0 1251 4 4 465 24 24 144 0 0
+fn=memcpy
+0 862 6 6 143 0 0 119 15 15
+fn=mempcpy
+0 2443 6 6 384 2 1 305 11 11
+fn=memset
+0 1042 3 3 7 0 0 515 67 67
+fn=mmap
+0 108 2 2 18 0 0 0 0 0
+fn=mprotect
+0 45 1 1 9 0 0 0 0 0
+fn=munmap
+0 5 0 0 1 0 0 0 0 0
+fn=open
+0 305 1 1 31 0 0 25 0 0
+fn=open_path
+0 2236 14 14 802 0 0 239 1 1
+fn=open_verify
+0 1879 11 11 604 7 7 325 4 4
+fn=openaux
+0 231 2 2 88 0 0 44 1 1
+fn=process_envvars
+0 230 9 9 74 4 4 16 3 3
+fn=read
+0 25 1 1 5 0 0 0 0 0
+fn=rindex
+0 105 3 3 6 2 1 0 0 0
+fn=rtld_lock_default_lock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=rtld_lock_default_unlock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=sbrk
+0 17 2 2 5 0 0 2 1 1
+fn=strcmp
+0 110867 2 2 32622 70 20 0 0 0
+fn=strlen
+0 776 2 2 99 2 2 0 0 0
+fn=strsep
+0 5157 3 3 821 0 0 8 0 0
+fn=uname
+0 5 1 1 1 0 0 0 0 0
+fn=version_check_doit
+0 10 1 1 4 0 0 2 0 0
+summary: 1273787 700 694 302365 6648 4096 100676 1095 817
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testFunctionLabel/template_cachegrind_4754.txt b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testFunctionLabel/template_cachegrind_4754.txt
new file mode 100644
index 0000000..6ebabc9
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testFunctionLabel/template_cachegrind_4754.txt
@@ -0,0 +1,250 @@
+desc: I1 cache: 32768 B, 64 B, 8-way associative
+desc: D1 cache: 32768 B, 64 B, 8-way associative
+desc: L2 cache: 6291456 B, 64 B, 24-way associative
+cmd: XXXXXXXXXXXX/cpptest/Debug/cpptest
+events: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.cpp
+fn=A::A()
+17 7 1 1 3 0 0 3 0 0
+fn=A::B::B()
+26 7 1 1 3 0 0 3 0 0
+fn=A::B::d()
+27 4 0 0 0 0 0 2 0 0
+28 5 0 0 3 0 0 1 0 0
+29 3 0 0 1 0 0 1 0 0
+30 2 0 0 2 0 0 0 0 0
+fn=A::B::e()
+33 3 0 0 0 0 0 2 0 0
+34 5 0 0 3 0 0 1 0 0
+35 2 0 0 2 0 0 0 0 0
+fn=A::c()
+18 4 0 0 0 0 0 2 0 0
+19 3 0 0 0 0 0 1 0 0
+20 3 0 0 0 0 0 1 0 0
+21 4 0 0 3 0 0 0 0 0
+22 2 0 0 2 0 0 0 0 0
+fn=Foo::bar(int)
+40 5 0 0 0 0 0 3 0 0
+41 9 0 0 5 0 0 1 0 0
+42 2 0 0 2 0 0 0 0 0
+fn=Foo::baz(int, int)
+44 5 0 0 0 0 0 4 0 0
+45 3 0 0 2 0 0 0 0 0
+46 2 0 0 2 0 0 0 0 0
+fn=main
+48 5 1 1 0 0 0 3 0 0
+49 3 0 0 0 0 0 1 0 0
+50 3 0 0 0 0 0 1 0 0
+51 4 0 0 0 0 0 1 0 0
+52 3 0 0 0 0 0 1 0 0
+53 1 0 0 0 0 0 0 0 0
+54 2 0 0 2 0 0 0 0 0
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.h
+fn=Foo::Foo()
+16 7 1 1 3 0 0 3 0 0
+fl=???
+fn=(below main)
+0 57 4 4 17 2 0 17 0 0
+fn=???
+0 718 79 74 300 55 11 185 12 8
+fn=_Exit
+0 8 1 1 1 1 0 0 0 0
+fn=_IO_cleanup
+0 53 3 3 15 1 1 9 0 0
+fn=_IO_flush_all_lockp
+0 82 7 7 22 12 9 14 0 0
+fn=__cxa_atexit
+0 75 3 3 15 0 0 24 1 1
+fn=__cxa_finalize
+0 279 6 6 72 1 1 28 0 0
+fn=__init_misc
+0 24 2 2 7 1 0 5 2 1
+fn=__libc_csu_init
+0 25 3 3 7 0 0 7 0 0
+fn=__libc_fini
+0 6 0 0 3 0 0 1 0 0
+fn=__libc_global_ctors
+0 13 2 2 4 1 1 2 0 0
+fn=__libc_memalign
+0 1076 4 4 210 0 0 206 0 0
+fn=__new_exitfn
+0 111 6 6 30 5 5 10 0 0
+fn=__sigjmp_save
+0 9 0 0 2 0 0 2 0 0
+fn=__sigsetjmp
+0 246 5 5 64 0 0 104 1 1
+fn=__unregister_atfork
+0 32 2 2 12 1 1 4 0 0
+fn=_dl_add_to_slotinfo
+0 40 4 4 16 4 0 10 1 0
+fn=_dl_allocate_tls_init
+0 133 8 8 44 4 0 18 1 1
+fn=_dl_allocate_tls_storage
+0 267 3 3 7 0 0 229 28 28
+fn=_dl_cache_libcmp
+0 3198 5 5 431 26 26 0 0 0
+fn=_dl_catch_error
+0 432 3 3 144 0 0 204 2 2
+fn=_dl_check_all_versions
+0 124 3 3 19 0 0 11 0 0
+fn=_dl_check_map_versions
+0 3224 15 15 1055 15 15 403 28 28
+fn=_dl_debug_initialize
+0 76 3 3 24 2 1 4 0 0
+fn=_dl_debug_state
+0 2 0 0 2 0 0 0 0 0
+fn=_dl_determine_tlsoffset
+0 101 6 6 20 1 1 11 0 0
+fn=_dl_discover_osversion
+0 87 4 4 12 1 1 4 1 1
+fn=_dl_fini
+0 409 12 12 134 2 0 43 3 0
+fn=_dl_fixup
+0 437 6 6 158 34 1 42 0 0
+fn=_dl_important_hwcaps
+0 257 16 16 49 0 0 38 3 3
+fn=_dl_init
+0 104 5 5 25 3 0 15 0 0
+fn=_dl_init_paths
+0 1752 17 17 249 1 1 42 3 3
+fn=_dl_initial_error_catch_tsd
+0 26 1 1 13 0 0 0 0 0
+fn=_dl_load_cache_lookup
+0 1051 13 13 218 30 30 66 0 0
+fn=_dl_lookup_symbol_x
+0 525437 10 10 81620 1224 1065 27255 2 0
+fn=_dl_map_object
+0 2229 23 23 566 1 1 331 9 9
+fn=_dl_map_object_deps
+0 2706 28 28 517 3 2 191 3 2
+fn=_dl_map_object_from_fd
+0 4446 46 46 936 47 47 459 55 55
+fn=_dl_name_match_p
+0 5158 2 2 1384 15 0 798 2 2
+fn=_dl_new_object
+0 1241 13 13 237 8 8 231 36 36
+fn=_dl_next_ld_env_entry
+0 296 2 2 102 23 23 2 0 0
+fn=_dl_next_tls_modid
+0 16 1 1 6 0 0 2 0 0
+fn=_dl_protect_relro
+0 80 2 2 24 0 0 8 0 0
+fn=_dl_receive_error
+0 28 2 2 10 0 0 12 0 0
+fn=_dl_relocate_object
+0 183682 36 36 47167 2860 2097 14356 753 490
+fn=_dl_runtime_resolve
+0 126 2 2 54 0 0 48 0 0
+fn=_dl_setup_hash
+0 203 2 2 49 10 10 42 1 1
+fn=_dl_sort_fini
+0 666 6 6 172 5 0 24 0 0
+fn=_dl_start
+0 397 17 16 48 14 12 40 12 12
+fn=_dl_sysdep_read_whole_file
+0 42 3 3 6 0 0 9 0 0
+fn=_dl_sysdep_start
+0 395 13 13 108 16 15 27 2 2
+fn=_dl_sysdep_start_cleanup
+0 1 0 0 1 0 0 0 0 0
+fn=_dl_unload_cache
+0 10 0 0 3 0 0 2 0 0
+fn=_dl_vdso_vsym
+0 16 1 1 6 1 0 0 0 0
+fn=_fxstat
+0 60 1 1 6 0 0 0 0 0
+fn=_init
+0 136 9 9 22 4 1 18 5 4
+fn=_setjmp
+0 2 1 1 0 0 0 0 0 0
+fn=_xstat
+0 199 1 1 16 0 0 13 0 0
+fn=access
+0 11 1 1 1 0 0 1 0 0
+fn=brk
+0 11 1 1 1 0 0 1 1 1
+fn=bsearch
+0 3388 3 3 416 0 0 585 1 0
+fn=call_init
+0 307 5 5 105 17 0 60 0 0
+fn=calloc
+0 126 2 2 0 0 0 0 0 0
+fn=check_match.8652
+0 68242 7 7 23556 162 99 5915 0 0
+fn=close
+0 30 0 0 6 0 0 0 0 0
+fn=dl_main
+0 1126 63 63 289 32 19 128 14 14
+fn=do_lookup_x
+0 326670 13 13 104430 1862 504 46233 1 0
+fn=do_preload
+0 28 3 3 7 0 0 9 0 0
+fn=exit
+0 76 4 4 11 1 1 10 0 0
+fn=expand_dynamic_string_token
+0 32 3 3 6 0 0 9 0 0
+fn=fillin_rpath
+0 513 16 16 94 0 0 85 4 4
+fn=handle_intel
+0 195 4 4 26 0 0 45 1 1
+fn=index
+0 687 2 2 62 7 7 0 0 0
+fn=init_cacheinfo
+0 106 8 8 4 0 0 10 3 3
+fn=init_tls
+0 86 4 4 22 2 1 14 0 0
+fn=intel_02_known_compare
+0 1218 1 1 528 20 20 0 0 0
+fn=intel_check_word
+0 921 7 7 95 0 0 146 1 1
+fn=local_strdup
+0 68 1 1 8 0 0 16 0 0
+fn=malloc
+0 114 0 0 0 0 0 0 0 0
+fn=map_doit
+0 15 2 2 6 0 0 4 0 0
+fn=match_symbol
+0 1251 4 4 465 24 24 144 0 0
+fn=memcpy
+0 862 6 6 143 0 0 119 15 15
+fn=mempcpy
+0 2443 6 6 384 2 1 305 11 11
+fn=memset
+0 1042 3 3 7 0 0 515 67 67
+fn=mmap
+0 108 2 2 18 0 0 0 0 0
+fn=mprotect
+0 45 1 1 9 0 0 0 0 0
+fn=munmap
+0 5 0 0 1 0 0 0 0 0
+fn=open
+0 305 1 1 31 0 0 25 0 0
+fn=open_path
+0 2236 14 14 802 0 0 239 1 1
+fn=open_verify
+0 1879 11 11 604 7 7 325 4 4
+fn=openaux
+0 231 2 2 88 0 0 44 1 1
+fn=process_envvars
+0 230 9 9 74 4 4 16 3 3
+fn=read
+0 25 1 1 5 0 0 0 0 0
+fn=rindex
+0 105 3 3 6 2 1 0 0 0
+fn=rtld_lock_default_lock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=rtld_lock_default_unlock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=sbrk
+0 17 2 2 5 0 0 2 1 1
+fn=strcmp
+0 110867 2 2 32622 70 20 0 0 0
+fn=strlen
+0 776 2 2 99 2 2 0 0 0
+fn=strsep
+0 5157 3 3 821 0 0 8 0 0
+fn=uname
+0 5 1 1 1 0 0 0 0 0
+fn=version_check_doit
+0 10 1 1 4 0 0 2 0 0
+summary: 1273787 700 694 302365 6648 4096 100676 1095 817
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testI1Cache/template_cachegrind_5245.txt b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testI1Cache/template_cachegrind_5245.txt
new file mode 100644
index 0000000..15a8a79
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testI1Cache/template_cachegrind_5245.txt
@@ -0,0 +1,250 @@
+desc: I1 cache: 16384 B, 16 B, direct-mapped
+desc: D1 cache: 32768 B, 64 B, 8-way associative
+desc: L2 cache: 6291456 B, 64 B, 24-way associative
+cmd: XXXXXXXXXXXX/cpptest/Debug/cpptest
+events: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.cpp
+fn=A::A()
+17 7 1 1 3 0 0 3 0 0
+fn=A::B::B()
+26 7 2 1 3 0 0 3 0 0
+fn=A::B::d()
+27 4 1 0 0 0 0 2 0 0
+28 5 1 0 3 0 0 1 0 0
+29 3 0 0 1 0 0 1 0 0
+30 2 0 0 2 0 0 0 0 0
+fn=A::B::e()
+33 3 1 0 0 0 0 2 0 0
+34 5 1 0 3 0 0 1 0 0
+35 2 0 0 2 0 0 0 0 0
+fn=A::c()
+18 4 1 0 0 0 0 2 0 0
+19 3 1 0 0 0 0 1 0 0
+20 3 1 0 0 0 0 1 0 0
+21 4 0 0 3 0 0 0 0 0
+22 2 0 0 2 0 0 0 0 0
+fn=Foo::bar(int)
+40 5 1 0 0 0 0 3 0 0
+41 9 1 0 5 0 0 1 0 0
+42 2 0 0 2 0 0 0 0 0
+fn=Foo::baz(int, int)
+44 5 1 0 0 0 0 4 0 0
+45 3 0 0 2 0 0 0 0 0
+46 2 0 0 2 0 0 0 0 0
+fn=main
+48 5 2 1 0 0 0 3 0 0
+49 3 1 0 0 0 0 1 0 0
+50 3 1 0 0 0 0 1 0 0
+51 4 1 0 0 0 0 1 0 0
+52 3 0 0 0 0 0 1 0 0
+53 1 0 0 0 0 0 0 0 0
+54 2 0 0 2 0 0 0 0 0
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.h
+fn=Foo::Foo()
+16 7 2 1 3 0 0 3 0 0
+fl=???
+fn=(below main)
+0 57 18 4 17 2 0 17 0 0
+fn=???
+0 718 202 74 300 55 11 185 12 8
+fn=_Exit
+0 8 3 1 1 1 0 0 0 0
+fn=_IO_cleanup
+0 53 9 3 15 1 1 9 0 0
+fn=_IO_flush_all_lockp
+0 82 15 7 22 12 9 14 0 0
+fn=__cxa_atexit
+0 75 11 3 15 0 0 24 1 1
+fn=__cxa_finalize
+0 279 19 6 72 1 1 28 0 0
+fn=__init_misc
+0 24 6 2 7 1 0 5 2 1
+fn=__libc_csu_init
+0 25 8 3 7 0 0 7 0 0
+fn=__libc_fini
+0 6 2 0 3 0 0 1 0 0
+fn=__libc_global_ctors
+0 13 3 2 4 1 1 2 0 0
+fn=__libc_memalign
+0 1076 61 4 210 0 0 206 0 0
+fn=__new_exitfn
+0 111 26 6 30 5 5 10 0 0
+fn=__sigjmp_save
+0 9 2 0 2 0 0 2 0 0
+fn=__sigsetjmp
+0 246 26 5 64 0 0 104 1 1
+fn=__unregister_atfork
+0 32 3 2 12 1 1 4 0 0
+fn=_dl_add_to_slotinfo
+0 40 6 4 16 4 0 10 1 0
+fn=_dl_allocate_tls_init
+0 133 25 8 44 4 0 18 1 1
+fn=_dl_allocate_tls_storage
+0 267 10 3 7 0 0 229 28 28
+fn=_dl_cache_libcmp
+0 3198 10 5 431 26 26 0 0 0
+fn=_dl_catch_error
+0 432 39 3 144 0 0 204 2 2
+fn=_dl_check_all_versions
+0 124 7 3 19 0 0 11 0 0
+fn=_dl_check_map_versions
+0 3224 56 15 1055 15 15 403 28 28
+fn=_dl_debug_initialize
+0 76 17 3 24 2 1 4 0 0
+fn=_dl_debug_state
+0 2 2 0 2 0 0 0 0 0
+fn=_dl_determine_tlsoffset
+0 101 19 6 20 1 1 11 0 0
+fn=_dl_discover_osversion
+0 87 11 4 12 1 1 4 1 1
+fn=_dl_fini
+0 409 41 12 134 2 0 43 3 0
+fn=_dl_fixup
+0 437 113 6 158 34 1 42 0 0
+fn=_dl_important_hwcaps
+0 257 48 16 49 0 0 38 3 3
+fn=_dl_init
+0 104 12 5 25 3 0 15 0 0
+fn=_dl_init_paths
+0 1752 54 17 249 1 1 42 3 3
+fn=_dl_initial_error_catch_tsd
+0 26 5 1 13 0 0 0 0 0
+fn=_dl_load_cache_lookup
+0 1051 91 13 218 30 30 66 0 0
+fn=_dl_lookup_symbol_x
+0 525437 154 10 81620 1224 1065 27255 2 0
+fn=_dl_map_object
+0 2229 128 23 566 1 1 331 9 9
+fn=_dl_map_object_deps
+0 2706 114 28 517 3 2 191 3 2
+fn=_dl_map_object_from_fd
+0 4446 220 46 936 47 47 459 55 55
+fn=_dl_name_match_p
+0 5158 36 2 1384 15 0 798 2 2
+fn=_dl_new_object
+0 1241 94 13 237 8 8 231 36 36
+fn=_dl_next_ld_env_entry
+0 296 4 2 102 23 23 2 0 0
+fn=_dl_next_tls_modid
+0 16 3 1 6 0 0 2 0 0
+fn=_dl_protect_relro
+0 80 5 2 24 0 0 8 0 0
+fn=_dl_receive_error
+0 28 8 2 10 0 0 12 0 0
+fn=_dl_relocate_object
+0 183682 174 36 47167 2860 2097 14356 753 490
+fn=_dl_runtime_resolve
+0 126 7 2 54 0 0 48 0 0
+fn=_dl_setup_hash
+0 203 7 2 49 10 10 42 1 1
+fn=_dl_sort_fini
+0 666 20 6 172 5 0 24 0 0
+fn=_dl_start
+0 397 53 16 48 14 12 40 12 12
+fn=_dl_sysdep_read_whole_file
+0 42 11 3 6 0 0 9 0 0
+fn=_dl_sysdep_start
+0 395 45 13 108 16 15 27 2 2
+fn=_dl_sysdep_start_cleanup
+0 1 1 0 1 0 0 0 0 0
+fn=_dl_unload_cache
+0 10 4 0 3 0 0 2 0 0
+fn=_dl_vdso_vsym
+0 16 2 1 6 1 0 0 0 0
+fn=_fxstat
+0 60 4 1 6 0 0 0 0 0
+fn=_init
+0 136 30 9 22 4 1 18 5 4
+fn=_setjmp
+0 2 1 1 0 0 0 0 0 0
+fn=_xstat
+0 199 3 1 16 0 0 13 0 0
+fn=access
+0 11 3 1 1 0 0 1 0 0
+fn=brk
+0 11 3 1 1 0 0 1 1 1
+fn=bsearch
+0 3388 9 3 416 0 0 585 1 0
+fn=call_init
+0 307 21 5 105 17 0 60 0 0
+fn=calloc
+0 126 18 2 0 0 0 0 0 0
+fn=check_match.8652
+0 68242 22 7 23556 162 99 5915 0 0
+fn=close
+0 30 2 0 6 0 0 0 0 0
+fn=dl_main
+0 1126 224 63 289 32 19 128 14 14
+fn=do_lookup_x
+0 326670 52 13 104430 1862 504 46233 1 0
+fn=do_preload
+0 28 9 3 7 0 0 9 0 0
+fn=exit
+0 76 13 4 11 1 1 10 0 0
+fn=expand_dynamic_string_token
+0 32 9 3 6 0 0 9 0 0
+fn=fillin_rpath
+0 513 42 16 94 0 0 85 4 4
+fn=handle_intel
+0 195 16 4 26 0 0 45 1 1
+fn=index
+0 687 8 2 62 7 7 0 0 0
+fn=init_cacheinfo
+0 106 22 8 4 0 0 10 3 3
+fn=init_tls
+0 86 13 4 22 2 1 14 0 0
+fn=intel_02_known_compare
+0 1218 1 1 528 20 20 0 0 0
+fn=intel_check_word
+0 921 20 7 95 0 0 146 1 1
+fn=local_strdup
+0 68 5 1 8 0 0 16 0 0
+fn=malloc
+0 114 6 0 0 0 0 0 0 0
+fn=map_doit
+0 15 4 2 6 0 0 4 0 0
+fn=match_symbol
+0 1251 13 4 465 24 24 144 0 0
+fn=memcpy
+0 862 26 6 143 0 0 119 15 15
+fn=mempcpy
+0 2443 26 6 384 2 1 305 11 11
+fn=memset
+0 1042 33 3 7 0 0 515 67 67
+fn=mmap
+0 108 4 2 18 0 0 0 0 0
+fn=mprotect
+0 45 1 1 9 0 0 0 0 0
+fn=munmap
+0 5 1 0 1 0 0 0 0 0
+fn=open
+0 305 13 1 31 0 0 25 0 0
+fn=open_path
+0 2236 46 14 802 0 0 239 1 1
+fn=open_verify
+0 1879 130 11 604 7 7 325 4 4
+fn=openaux
+0 231 38 2 88 0 0 44 1 1
+fn=process_envvars
+0 230 24 9 74 4 4 16 3 3
+fn=read
+0 25 5 1 5 0 0 0 0 0
+fn=rindex
+0 105 9 3 6 2 1 0 0 0
+fn=rtld_lock_default_lock_recursive
+0 2 1 0 2 0 0 0 0 0
+fn=rtld_lock_default_unlock_recursive
+0 2 1 0 2 0 0 0 0 0
+fn=sbrk
+0 17 5 2 5 0 0 2 1 1
+fn=strcmp
+0 110867 3 2 32622 70 20 0 0 0
+fn=strlen
+0 776 54 2 99 2 2 0 0 0
+fn=strsep
+0 5157 8 3 821 0 0 8 0 0
+fn=uname
+0 5 1 1 1 0 0 0 0 0
+fn=version_check_doit
+0 10 3 1 4 0 0 2 0 0
+summary: 1273787 3095 694 302365 6648 4096 100676 1095 817
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testL2Cache/template_cachegrind_5355.txt b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testL2Cache/template_cachegrind_5355.txt
new file mode 100644
index 0000000..3a32044
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testL2Cache/template_cachegrind_5355.txt
@@ -0,0 +1,250 @@
+desc: I1 cache: 32768 B, 64 B, 8-way associative
+desc: D1 cache: 32768 B, 64 B, 8-way associative
+desc: L2 cache: 16384 B, 16 B, direct-mapped
+cmd: XXXXXXXXXXXX/cpptest/Debug/cpptest
+events: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.cpp
+fn=A::A()
+17 7 1 1 3 0 0 3 0 0
+fn=A::B::B()
+26 7 1 1 3 0 0 3 0 0
+fn=A::B::d()
+27 4 0 0 0 0 0 2 0 0
+28 5 0 0 3 0 0 1 0 0
+29 3 0 0 1 0 0 1 0 0
+30 2 0 0 2 0 0 0 0 0
+fn=A::B::e()
+33 3 0 0 0 0 0 2 0 0
+34 5 0 0 3 0 0 1 0 0
+35 2 0 0 2 0 0 0 0 0
+fn=A::c()
+18 4 0 0 0 0 0 2 0 0
+19 3 0 0 0 0 0 1 0 0
+20 3 0 0 0 0 0 1 0 0
+21 4 0 0 3 0 0 0 0 0
+22 2 0 0 2 0 0 0 0 0
+fn=Foo::bar(int)
+40 5 0 0 0 0 0 3 0 0
+41 9 0 0 5 0 0 1 0 0
+42 2 0 0 2 0 0 0 0 0
+fn=Foo::baz(int, int)
+44 5 0 0 0 0 0 4 0 0
+45 3 0 0 2 0 0 0 0 0
+46 2 0 0 2 0 0 0 0 0
+fn=main
+48 5 1 1 0 0 0 3 0 0
+49 3 0 0 0 0 0 1 0 0
+50 3 0 0 0 0 0 1 0 0
+51 4 0 0 0 0 0 1 0 0
+52 3 0 0 0 0 0 1 0 0
+53 1 0 0 0 0 0 0 0 0
+54 2 0 0 2 0 0 0 0 0
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.h
+fn=Foo::Foo()
+16 7 1 1 3 0 0 3 0 0
+fl=???
+fn=(below main)
+0 57 4 4 17 2 2 17 0 0
+fn=???
+0 718 79 79 300 55 52 185 12 12
+fn=_Exit
+0 8 1 1 1 1 1 0 0 0
+fn=_IO_cleanup
+0 53 3 3 15 1 1 9 0 0
+fn=_IO_flush_all_lockp
+0 82 7 7 22 12 12 14 0 0
+fn=__cxa_atexit
+0 75 3 3 15 0 0 24 1 1
+fn=__cxa_finalize
+0 279 6 6 72 1 1 28 0 0
+fn=__init_misc
+0 24 2 2 7 1 1 5 2 2
+fn=__libc_csu_init
+0 25 3 3 7 0 0 7 0 0
+fn=__libc_fini
+0 6 0 0 3 0 0 1 0 0
+fn=__libc_global_ctors
+0 13 2 2 4 1 1 2 0 0
+fn=__libc_memalign
+0 1076 4 4 210 0 0 206 0 0
+fn=__new_exitfn
+0 111 6 6 30 5 5 10 0 0
+fn=__sigjmp_save
+0 9 0 0 2 0 0 2 0 0
+fn=__sigsetjmp
+0 246 5 5 64 0 0 104 1 1
+fn=__unregister_atfork
+0 32 2 2 12 1 1 4 0 0
+fn=_dl_add_to_slotinfo
+0 40 4 4 16 4 3 10 1 1
+fn=_dl_allocate_tls_init
+0 133 8 8 44 4 4 18 1 1
+fn=_dl_allocate_tls_storage
+0 267 3 3 7 0 0 229 28 28
+fn=_dl_cache_libcmp
+0 3198 5 5 431 26 26 0 0 0
+fn=_dl_catch_error
+0 432 3 3 144 0 0 204 2 2
+fn=_dl_check_all_versions
+0 124 3 3 19 0 0 11 0 0
+fn=_dl_check_map_versions
+0 3224 15 15 1055 15 15 403 28 28
+fn=_dl_debug_initialize
+0 76 3 3 24 2 2 4 0 0
+fn=_dl_debug_state
+0 2 0 0 2 0 0 0 0 0
+fn=_dl_determine_tlsoffset
+0 101 6 6 20 1 1 11 0 0
+fn=_dl_discover_osversion
+0 87 4 4 12 1 1 4 1 1
+fn=_dl_fini
+0 409 12 12 134 2 2 43 3 3
+fn=_dl_fixup
+0 437 6 6 158 34 30 42 0 0
+fn=_dl_important_hwcaps
+0 257 16 16 49 0 0 38 3 3
+fn=_dl_init
+0 104 5 5 25 3 3 15 0 0
+fn=_dl_init_paths
+0 1752 17 17 249 1 1 42 3 3
+fn=_dl_initial_error_catch_tsd
+0 26 1 1 13 0 0 0 0 0
+fn=_dl_load_cache_lookup
+0 1051 13 13 218 30 30 66 0 0
+fn=_dl_lookup_symbol_x
+0 525437 10 10 81620 1224 1217 27255 2 2
+fn=_dl_map_object
+0 2229 23 23 566 1 1 331 9 9
+fn=_dl_map_object_deps
+0 2706 28 28 517 3 3 191 3 3
+fn=_dl_map_object_from_fd
+0 4446 46 46 936 47 47 459 55 55
+fn=_dl_name_match_p
+0 5158 2 2 1384 15 11 798 2 2
+fn=_dl_new_object
+0 1241 13 13 237 8 8 231 36 36
+fn=_dl_next_ld_env_entry
+0 296 2 2 102 23 23 2 0 0
+fn=_dl_next_tls_modid
+0 16 1 1 6 0 0 2 0 0
+fn=_dl_protect_relro
+0 80 2 2 24 0 0 8 0 0
+fn=_dl_receive_error
+0 28 2 2 10 0 0 12 0 0
+fn=_dl_relocate_object
+0 183682 36 36 47167 2860 2775 14356 753 744
+fn=_dl_runtime_resolve
+0 126 2 2 54 0 0 48 0 0
+fn=_dl_setup_hash
+0 203 2 2 49 10 10 42 1 1
+fn=_dl_sort_fini
+0 666 6 6 172 5 5 24 0 0
+fn=_dl_start
+0 397 17 17 48 14 14 40 12 12
+fn=_dl_sysdep_read_whole_file
+0 42 3 3 6 0 0 9 0 0
+fn=_dl_sysdep_start
+0 395 13 13 108 16 16 27 2 2
+fn=_dl_sysdep_start_cleanup
+0 1 0 0 1 0 0 0 0 0
+fn=_dl_unload_cache
+0 10 0 0 3 0 0 2 0 0
+fn=_dl_vdso_vsym
+0 16 1 1 6 1 1 0 0 0
+fn=_fxstat
+0 60 1 1 6 0 0 0 0 0
+fn=_init
+0 136 9 9 22 4 4 18 5 5
+fn=_setjmp
+0 2 1 1 0 0 0 0 0 0
+fn=_xstat
+0 199 1 1 16 0 0 13 0 0
+fn=access
+0 11 1 1 1 0 0 1 0 0
+fn=brk
+0 11 1 1 1 0 0 1 1 1
+fn=bsearch
+0 3388 3 3 416 0 0 585 1 1
+fn=call_init
+0 307 5 5 105 17 17 60 0 0
+fn=calloc
+0 126 2 2 0 0 0 0 0 0
+fn=check_match.8652
+0 68242 7 7 23556 162 159 5915 0 0
+fn=close
+0 30 0 0 6 0 0 0 0 0
+fn=dl_main
+0 1126 63 63 289 32 31 128 14 14
+fn=do_lookup_x
+0 326670 13 13 104430 1862 1624 46233 1 0
+fn=do_preload
+0 28 3 3 7 0 0 9 0 0
+fn=exit
+0 76 4 4 11 1 1 10 0 0
+fn=expand_dynamic_string_token
+0 32 3 3 6 0 0 9 0 0
+fn=fillin_rpath
+0 513 16 16 94 0 0 85 4 4
+fn=handle_intel
+0 195 4 4 26 0 0 45 1 1
+fn=index
+0 687 2 2 62 7 7 0 0 0
+fn=init_cacheinfo
+0 106 8 8 4 0 0 10 3 3
+fn=init_tls
+0 86 4 4 22 2 2 14 0 0
+fn=intel_02_known_compare
+0 1218 1 1 528 20 20 0 0 0
+fn=intel_check_word
+0 921 7 7 95 0 0 146 1 1
+fn=local_strdup
+0 68 1 1 8 0 0 16 0 0
+fn=malloc
+0 114 0 0 0 0 0 0 0 0
+fn=map_doit
+0 15 2 2 6 0 0 4 0 0
+fn=match_symbol
+0 1251 4 4 465 24 24 144 0 0
+fn=memcpy
+0 862 6 6 143 0 0 119 15 15
+fn=mempcpy
+0 2443 6 6 384 2 2 305 11 11
+fn=memset
+0 1042 3 3 7 0 0 515 67 67
+fn=mmap
+0 108 2 2 18 0 0 0 0 0
+fn=mprotect
+0 45 1 1 9 0 0 0 0 0
+fn=munmap
+0 5 0 0 1 0 0 0 0 0
+fn=open
+0 305 1 1 31 0 0 25 0 0
+fn=open_path
+0 2236 14 14 802 0 0 239 1 1
+fn=open_verify
+0 1879 11 11 604 7 7 325 4 4
+fn=openaux
+0 231 2 2 88 0 0 44 1 1
+fn=process_envvars
+0 230 9 9 74 4 4 16 3 3
+fn=read
+0 25 1 1 5 0 0 0 0 0
+fn=rindex
+0 105 3 3 6 2 2 0 0 0
+fn=rtld_lock_default_lock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=rtld_lock_default_unlock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=sbrk
+0 17 2 2 5 0 0 2 1 1
+fn=strcmp
+0 110867 2 2 32622 70 68 0 0 0
+fn=strlen
+0 776 2 2 99 2 2 0 0 0
+fn=strsep
+0 5157 3 3 821 0 0 8 0 0
+fn=uname
+0 5 1 1 1 0 0 0 0 0
+fn=version_check_doit
+0 10 1 1 4 0 0 2 0 0
+summary: 1273787 700 700 302365 6648 6300 100676 1095 1085
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testMethodLabel/template_cachegrind_4809.txt b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testMethodLabel/template_cachegrind_4809.txt
new file mode 100644
index 0000000..6ebabc9
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testMethodLabel/template_cachegrind_4809.txt
@@ -0,0 +1,250 @@
+desc: I1 cache: 32768 B, 64 B, 8-way associative
+desc: D1 cache: 32768 B, 64 B, 8-way associative
+desc: L2 cache: 6291456 B, 64 B, 24-way associative
+cmd: XXXXXXXXXXXX/cpptest/Debug/cpptest
+events: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.cpp
+fn=A::A()
+17 7 1 1 3 0 0 3 0 0
+fn=A::B::B()
+26 7 1 1 3 0 0 3 0 0
+fn=A::B::d()
+27 4 0 0 0 0 0 2 0 0
+28 5 0 0 3 0 0 1 0 0
+29 3 0 0 1 0 0 1 0 0
+30 2 0 0 2 0 0 0 0 0
+fn=A::B::e()
+33 3 0 0 0 0 0 2 0 0
+34 5 0 0 3 0 0 1 0 0
+35 2 0 0 2 0 0 0 0 0
+fn=A::c()
+18 4 0 0 0 0 0 2 0 0
+19 3 0 0 0 0 0 1 0 0
+20 3 0 0 0 0 0 1 0 0
+21 4 0 0 3 0 0 0 0 0
+22 2 0 0 2 0 0 0 0 0
+fn=Foo::bar(int)
+40 5 0 0 0 0 0 3 0 0
+41 9 0 0 5 0 0 1 0 0
+42 2 0 0 2 0 0 0 0 0
+fn=Foo::baz(int, int)
+44 5 0 0 0 0 0 4 0 0
+45 3 0 0 2 0 0 0 0 0
+46 2 0 0 2 0 0 0 0 0
+fn=main
+48 5 1 1 0 0 0 3 0 0
+49 3 0 0 0 0 0 1 0 0
+50 3 0 0 0 0 0 1 0 0
+51 4 0 0 0 0 0 1 0 0
+52 3 0 0 0 0 0 1 0 0
+53 1 0 0 0 0 0 0 0 0
+54 2 0 0 2 0 0 0 0 0
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.h
+fn=Foo::Foo()
+16 7 1 1 3 0 0 3 0 0
+fl=???
+fn=(below main)
+0 57 4 4 17 2 0 17 0 0
+fn=???
+0 718 79 74 300 55 11 185 12 8
+fn=_Exit
+0 8 1 1 1 1 0 0 0 0
+fn=_IO_cleanup
+0 53 3 3 15 1 1 9 0 0
+fn=_IO_flush_all_lockp
+0 82 7 7 22 12 9 14 0 0
+fn=__cxa_atexit
+0 75 3 3 15 0 0 24 1 1
+fn=__cxa_finalize
+0 279 6 6 72 1 1 28 0 0
+fn=__init_misc
+0 24 2 2 7 1 0 5 2 1
+fn=__libc_csu_init
+0 25 3 3 7 0 0 7 0 0
+fn=__libc_fini
+0 6 0 0 3 0 0 1 0 0
+fn=__libc_global_ctors
+0 13 2 2 4 1 1 2 0 0
+fn=__libc_memalign
+0 1076 4 4 210 0 0 206 0 0
+fn=__new_exitfn
+0 111 6 6 30 5 5 10 0 0
+fn=__sigjmp_save
+0 9 0 0 2 0 0 2 0 0
+fn=__sigsetjmp
+0 246 5 5 64 0 0 104 1 1
+fn=__unregister_atfork
+0 32 2 2 12 1 1 4 0 0
+fn=_dl_add_to_slotinfo
+0 40 4 4 16 4 0 10 1 0
+fn=_dl_allocate_tls_init
+0 133 8 8 44 4 0 18 1 1
+fn=_dl_allocate_tls_storage
+0 267 3 3 7 0 0 229 28 28
+fn=_dl_cache_libcmp
+0 3198 5 5 431 26 26 0 0 0
+fn=_dl_catch_error
+0 432 3 3 144 0 0 204 2 2
+fn=_dl_check_all_versions
+0 124 3 3 19 0 0 11 0 0
+fn=_dl_check_map_versions
+0 3224 15 15 1055 15 15 403 28 28
+fn=_dl_debug_initialize
+0 76 3 3 24 2 1 4 0 0
+fn=_dl_debug_state
+0 2 0 0 2 0 0 0 0 0
+fn=_dl_determine_tlsoffset
+0 101 6 6 20 1 1 11 0 0
+fn=_dl_discover_osversion
+0 87 4 4 12 1 1 4 1 1
+fn=_dl_fini
+0 409 12 12 134 2 0 43 3 0
+fn=_dl_fixup
+0 437 6 6 158 34 1 42 0 0
+fn=_dl_important_hwcaps
+0 257 16 16 49 0 0 38 3 3
+fn=_dl_init
+0 104 5 5 25 3 0 15 0 0
+fn=_dl_init_paths
+0 1752 17 17 249 1 1 42 3 3
+fn=_dl_initial_error_catch_tsd
+0 26 1 1 13 0 0 0 0 0
+fn=_dl_load_cache_lookup
+0 1051 13 13 218 30 30 66 0 0
+fn=_dl_lookup_symbol_x
+0 525437 10 10 81620 1224 1065 27255 2 0
+fn=_dl_map_object
+0 2229 23 23 566 1 1 331 9 9
+fn=_dl_map_object_deps
+0 2706 28 28 517 3 2 191 3 2
+fn=_dl_map_object_from_fd
+0 4446 46 46 936 47 47 459 55 55
+fn=_dl_name_match_p
+0 5158 2 2 1384 15 0 798 2 2
+fn=_dl_new_object
+0 1241 13 13 237 8 8 231 36 36
+fn=_dl_next_ld_env_entry
+0 296 2 2 102 23 23 2 0 0
+fn=_dl_next_tls_modid
+0 16 1 1 6 0 0 2 0 0
+fn=_dl_protect_relro
+0 80 2 2 24 0 0 8 0 0
+fn=_dl_receive_error
+0 28 2 2 10 0 0 12 0 0
+fn=_dl_relocate_object
+0 183682 36 36 47167 2860 2097 14356 753 490
+fn=_dl_runtime_resolve
+0 126 2 2 54 0 0 48 0 0
+fn=_dl_setup_hash
+0 203 2 2 49 10 10 42 1 1
+fn=_dl_sort_fini
+0 666 6 6 172 5 0 24 0 0
+fn=_dl_start
+0 397 17 16 48 14 12 40 12 12
+fn=_dl_sysdep_read_whole_file
+0 42 3 3 6 0 0 9 0 0
+fn=_dl_sysdep_start
+0 395 13 13 108 16 15 27 2 2
+fn=_dl_sysdep_start_cleanup
+0 1 0 0 1 0 0 0 0 0
+fn=_dl_unload_cache
+0 10 0 0 3 0 0 2 0 0
+fn=_dl_vdso_vsym
+0 16 1 1 6 1 0 0 0 0
+fn=_fxstat
+0 60 1 1 6 0 0 0 0 0
+fn=_init
+0 136 9 9 22 4 1 18 5 4
+fn=_setjmp
+0 2 1 1 0 0 0 0 0 0
+fn=_xstat
+0 199 1 1 16 0 0 13 0 0
+fn=access
+0 11 1 1 1 0 0 1 0 0
+fn=brk
+0 11 1 1 1 0 0 1 1 1
+fn=bsearch
+0 3388 3 3 416 0 0 585 1 0
+fn=call_init
+0 307 5 5 105 17 0 60 0 0
+fn=calloc
+0 126 2 2 0 0 0 0 0 0
+fn=check_match.8652
+0 68242 7 7 23556 162 99 5915 0 0
+fn=close
+0 30 0 0 6 0 0 0 0 0
+fn=dl_main
+0 1126 63 63 289 32 19 128 14 14
+fn=do_lookup_x
+0 326670 13 13 104430 1862 504 46233 1 0
+fn=do_preload
+0 28 3 3 7 0 0 9 0 0
+fn=exit
+0 76 4 4 11 1 1 10 0 0
+fn=expand_dynamic_string_token
+0 32 3 3 6 0 0 9 0 0
+fn=fillin_rpath
+0 513 16 16 94 0 0 85 4 4
+fn=handle_intel
+0 195 4 4 26 0 0 45 1 1
+fn=index
+0 687 2 2 62 7 7 0 0 0
+fn=init_cacheinfo
+0 106 8 8 4 0 0 10 3 3
+fn=init_tls
+0 86 4 4 22 2 1 14 0 0
+fn=intel_02_known_compare
+0 1218 1 1 528 20 20 0 0 0
+fn=intel_check_word
+0 921 7 7 95 0 0 146 1 1
+fn=local_strdup
+0 68 1 1 8 0 0 16 0 0
+fn=malloc
+0 114 0 0 0 0 0 0 0 0
+fn=map_doit
+0 15 2 2 6 0 0 4 0 0
+fn=match_symbol
+0 1251 4 4 465 24 24 144 0 0
+fn=memcpy
+0 862 6 6 143 0 0 119 15 15
+fn=mempcpy
+0 2443 6 6 384 2 1 305 11 11
+fn=memset
+0 1042 3 3 7 0 0 515 67 67
+fn=mmap
+0 108 2 2 18 0 0 0 0 0
+fn=mprotect
+0 45 1 1 9 0 0 0 0 0
+fn=munmap
+0 5 0 0 1 0 0 0 0 0
+fn=open
+0 305 1 1 31 0 0 25 0 0
+fn=open_path
+0 2236 14 14 802 0 0 239 1 1
+fn=open_verify
+0 1879 11 11 604 7 7 325 4 4
+fn=openaux
+0 231 2 2 88 0 0 44 1 1
+fn=process_envvars
+0 230 9 9 74 4 4 16 3 3
+fn=read
+0 25 1 1 5 0 0 0 0 0
+fn=rindex
+0 105 3 3 6 2 1 0 0 0
+fn=rtld_lock_default_lock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=rtld_lock_default_unlock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=sbrk
+0 17 2 2 5 0 0 2 1 1
+fn=strcmp
+0 110867 2 2 32622 70 20 0 0 0
+fn=strlen
+0 776 2 2 99 2 2 0 0 0
+fn=strsep
+0 5157 3 3 821 0 0 8 0 0
+fn=uname
+0 5 1 1 1 0 0 0 0 0
+fn=version_check_doit
+0 10 1 1 4 0 0 2 0 0
+summary: 1273787 700 694 302365 6648 4096 100676 1095 817
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testNestedMethodLabel/template_cachegrind_4864.txt b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testNestedMethodLabel/template_cachegrind_4864.txt
new file mode 100644
index 0000000..6ebabc9
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testNestedMethodLabel/template_cachegrind_4864.txt
@@ -0,0 +1,250 @@
+desc: I1 cache: 32768 B, 64 B, 8-way associative
+desc: D1 cache: 32768 B, 64 B, 8-way associative
+desc: L2 cache: 6291456 B, 64 B, 24-way associative
+cmd: XXXXXXXXXXXX/cpptest/Debug/cpptest
+events: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.cpp
+fn=A::A()
+17 7 1 1 3 0 0 3 0 0
+fn=A::B::B()
+26 7 1 1 3 0 0 3 0 0
+fn=A::B::d()
+27 4 0 0 0 0 0 2 0 0
+28 5 0 0 3 0 0 1 0 0
+29 3 0 0 1 0 0 1 0 0
+30 2 0 0 2 0 0 0 0 0
+fn=A::B::e()
+33 3 0 0 0 0 0 2 0 0
+34 5 0 0 3 0 0 1 0 0
+35 2 0 0 2 0 0 0 0 0
+fn=A::c()
+18 4 0 0 0 0 0 2 0 0
+19 3 0 0 0 0 0 1 0 0
+20 3 0 0 0 0 0 1 0 0
+21 4 0 0 3 0 0 0 0 0
+22 2 0 0 2 0 0 0 0 0
+fn=Foo::bar(int)
+40 5 0 0 0 0 0 3 0 0
+41 9 0 0 5 0 0 1 0 0
+42 2 0 0 2 0 0 0 0 0
+fn=Foo::baz(int, int)
+44 5 0 0 0 0 0 4 0 0
+45 3 0 0 2 0 0 0 0 0
+46 2 0 0 2 0 0 0 0 0
+fn=main
+48 5 1 1 0 0 0 3 0 0
+49 3 0 0 0 0 0 1 0 0
+50 3 0 0 0 0 0 1 0 0
+51 4 0 0 0 0 0 1 0 0
+52 3 0 0 0 0 0 1 0 0
+53 1 0 0 0 0 0 0 0 0
+54 2 0 0 2 0 0 0 0 0
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.h
+fn=Foo::Foo()
+16 7 1 1 3 0 0 3 0 0
+fl=???
+fn=(below main)
+0 57 4 4 17 2 0 17 0 0
+fn=???
+0 718 79 74 300 55 11 185 12 8
+fn=_Exit
+0 8 1 1 1 1 0 0 0 0
+fn=_IO_cleanup
+0 53 3 3 15 1 1 9 0 0
+fn=_IO_flush_all_lockp
+0 82 7 7 22 12 9 14 0 0
+fn=__cxa_atexit
+0 75 3 3 15 0 0 24 1 1
+fn=__cxa_finalize
+0 279 6 6 72 1 1 28 0 0
+fn=__init_misc
+0 24 2 2 7 1 0 5 2 1
+fn=__libc_csu_init
+0 25 3 3 7 0 0 7 0 0
+fn=__libc_fini
+0 6 0 0 3 0 0 1 0 0
+fn=__libc_global_ctors
+0 13 2 2 4 1 1 2 0 0
+fn=__libc_memalign
+0 1076 4 4 210 0 0 206 0 0
+fn=__new_exitfn
+0 111 6 6 30 5 5 10 0 0
+fn=__sigjmp_save
+0 9 0 0 2 0 0 2 0 0
+fn=__sigsetjmp
+0 246 5 5 64 0 0 104 1 1
+fn=__unregister_atfork
+0 32 2 2 12 1 1 4 0 0
+fn=_dl_add_to_slotinfo
+0 40 4 4 16 4 0 10 1 0
+fn=_dl_allocate_tls_init
+0 133 8 8 44 4 0 18 1 1
+fn=_dl_allocate_tls_storage
+0 267 3 3 7 0 0 229 28 28
+fn=_dl_cache_libcmp
+0 3198 5 5 431 26 26 0 0 0
+fn=_dl_catch_error
+0 432 3 3 144 0 0 204 2 2
+fn=_dl_check_all_versions
+0 124 3 3 19 0 0 11 0 0
+fn=_dl_check_map_versions
+0 3224 15 15 1055 15 15 403 28 28
+fn=_dl_debug_initialize
+0 76 3 3 24 2 1 4 0 0
+fn=_dl_debug_state
+0 2 0 0 2 0 0 0 0 0
+fn=_dl_determine_tlsoffset
+0 101 6 6 20 1 1 11 0 0
+fn=_dl_discover_osversion
+0 87 4 4 12 1 1 4 1 1
+fn=_dl_fini
+0 409 12 12 134 2 0 43 3 0
+fn=_dl_fixup
+0 437 6 6 158 34 1 42 0 0
+fn=_dl_important_hwcaps
+0 257 16 16 49 0 0 38 3 3
+fn=_dl_init
+0 104 5 5 25 3 0 15 0 0
+fn=_dl_init_paths
+0 1752 17 17 249 1 1 42 3 3
+fn=_dl_initial_error_catch_tsd
+0 26 1 1 13 0 0 0 0 0
+fn=_dl_load_cache_lookup
+0 1051 13 13 218 30 30 66 0 0
+fn=_dl_lookup_symbol_x
+0 525437 10 10 81620 1224 1065 27255 2 0
+fn=_dl_map_object
+0 2229 23 23 566 1 1 331 9 9
+fn=_dl_map_object_deps
+0 2706 28 28 517 3 2 191 3 2
+fn=_dl_map_object_from_fd
+0 4446 46 46 936 47 47 459 55 55
+fn=_dl_name_match_p
+0 5158 2 2 1384 15 0 798 2 2
+fn=_dl_new_object
+0 1241 13 13 237 8 8 231 36 36
+fn=_dl_next_ld_env_entry
+0 296 2 2 102 23 23 2 0 0
+fn=_dl_next_tls_modid
+0 16 1 1 6 0 0 2 0 0
+fn=_dl_protect_relro
+0 80 2 2 24 0 0 8 0 0
+fn=_dl_receive_error
+0 28 2 2 10 0 0 12 0 0
+fn=_dl_relocate_object
+0 183682 36 36 47167 2860 2097 14356 753 490
+fn=_dl_runtime_resolve
+0 126 2 2 54 0 0 48 0 0
+fn=_dl_setup_hash
+0 203 2 2 49 10 10 42 1 1
+fn=_dl_sort_fini
+0 666 6 6 172 5 0 24 0 0
+fn=_dl_start
+0 397 17 16 48 14 12 40 12 12
+fn=_dl_sysdep_read_whole_file
+0 42 3 3 6 0 0 9 0 0
+fn=_dl_sysdep_start
+0 395 13 13 108 16 15 27 2 2
+fn=_dl_sysdep_start_cleanup
+0 1 0 0 1 0 0 0 0 0
+fn=_dl_unload_cache
+0 10 0 0 3 0 0 2 0 0
+fn=_dl_vdso_vsym
+0 16 1 1 6 1 0 0 0 0
+fn=_fxstat
+0 60 1 1 6 0 0 0 0 0
+fn=_init
+0 136 9 9 22 4 1 18 5 4
+fn=_setjmp
+0 2 1 1 0 0 0 0 0 0
+fn=_xstat
+0 199 1 1 16 0 0 13 0 0
+fn=access
+0 11 1 1 1 0 0 1 0 0
+fn=brk
+0 11 1 1 1 0 0 1 1 1
+fn=bsearch
+0 3388 3 3 416 0 0 585 1 0
+fn=call_init
+0 307 5 5 105 17 0 60 0 0
+fn=calloc
+0 126 2 2 0 0 0 0 0 0
+fn=check_match.8652
+0 68242 7 7 23556 162 99 5915 0 0
+fn=close
+0 30 0 0 6 0 0 0 0 0
+fn=dl_main
+0 1126 63 63 289 32 19 128 14 14
+fn=do_lookup_x
+0 326670 13 13 104430 1862 504 46233 1 0
+fn=do_preload
+0 28 3 3 7 0 0 9 0 0
+fn=exit
+0 76 4 4 11 1 1 10 0 0
+fn=expand_dynamic_string_token
+0 32 3 3 6 0 0 9 0 0
+fn=fillin_rpath
+0 513 16 16 94 0 0 85 4 4
+fn=handle_intel
+0 195 4 4 26 0 0 45 1 1
+fn=index
+0 687 2 2 62 7 7 0 0 0
+fn=init_cacheinfo
+0 106 8 8 4 0 0 10 3 3
+fn=init_tls
+0 86 4 4 22 2 1 14 0 0
+fn=intel_02_known_compare
+0 1218 1 1 528 20 20 0 0 0
+fn=intel_check_word
+0 921 7 7 95 0 0 146 1 1
+fn=local_strdup
+0 68 1 1 8 0 0 16 0 0
+fn=malloc
+0 114 0 0 0 0 0 0 0 0
+fn=map_doit
+0 15 2 2 6 0 0 4 0 0
+fn=match_symbol
+0 1251 4 4 465 24 24 144 0 0
+fn=memcpy
+0 862 6 6 143 0 0 119 15 15
+fn=mempcpy
+0 2443 6 6 384 2 1 305 11 11
+fn=memset
+0 1042 3 3 7 0 0 515 67 67
+fn=mmap
+0 108 2 2 18 0 0 0 0 0
+fn=mprotect
+0 45 1 1 9 0 0 0 0 0
+fn=munmap
+0 5 0 0 1 0 0 0 0 0
+fn=open
+0 305 1 1 31 0 0 25 0 0
+fn=open_path
+0 2236 14 14 802 0 0 239 1 1
+fn=open_verify
+0 1879 11 11 604 7 7 325 4 4
+fn=openaux
+0 231 2 2 88 0 0 44 1 1
+fn=process_envvars
+0 230 9 9 74 4 4 16 3 3
+fn=read
+0 25 1 1 5 0 0 0 0 0
+fn=rindex
+0 105 3 3 6 2 1 0 0 0
+fn=rtld_lock_default_lock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=rtld_lock_default_unlock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=sbrk
+0 17 2 2 5 0 0 2 1 1
+fn=strcmp
+0 110867 2 2 32622 70 20 0 0 0
+fn=strlen
+0 776 2 2 99 2 2 0 0 0
+fn=strsep
+0 5157 3 3 821 0 0 8 0 0
+fn=uname
+0 5 1 1 1 0 0 0 0 0
+fn=version_check_doit
+0 10 1 1 4 0 0 2 0 0
+summary: 1273787 700 694 302365 6648 4096 100676 1095 817
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testNoExec/template_cachegrind_5670.txt b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testNoExec/template_cachegrind_5670.txt
new file mode 100644
index 0000000..2c6ddb2
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testNoExec/template_cachegrind_5670.txt
@@ -0,0 +1,244 @@
+desc: I1 cache: 32768 B, 64 B, 8-way associative
+desc: D1 cache: 32768 B, 64 B, 8-way associative
+desc: L2 cache: 6291456 B, 64 B, 24-way associative
+cmd: XXXXXXXXXXXX/multiProcTest/Debug/multiProcTest
+events: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+fl=XXXXXXXXXXXX/multiProcTest/Debug/../parent.cpp
+fn=A::A()
+8 7 1 1 3 0 0 3 0 0
+fn=A::B::B()
+17 7 1 1 3 0 0 3 0 0
+fn=A::B::d()
+18 4 0 0 0 0 0 2 0 0
+19 5 0 0 3 0 0 1 0 0
+20 3 1 1 1 0 0 1 0 0
+21 2 0 0 2 0 0 0 0 0
+fn=A::B::e()
+24 3 0 0 0 0 0 2 0 0
+25 5 0 0 3 0 0 1 0 0
+26 2 0 0 2 0 0 0 0 0
+fn=A::c()
+9 4 0 0 0 0 0 2 0 0
+10 3 0 0 0 0 0 1 0 0
+11 3 0 0 0 0 0 1 0 0
+12 4 0 0 3 0 0 0 0 0
+13 2 0 0 2 0 0 0 0 0
+fn=main
+31 3 0 0 0 0 0 1 0 0
+32 5 1 1 0 0 0 1 0 0
+33 3 0 0 0 0 0 1 0 0
+34 4 0 0 0 0 0 1 0 0
+40 1 0 0 0 0 0 0 0 0
+41 2 0 0 2 0 0 0 0 0
+fl=???
+fn=(below main)
+0 57 4 4 17 2 0 17 0 0
+fn=???
+0 723 79 74 303 53 10 187 12 8
+fn=_Exit
+0 8 1 1 1 1 0 0 0 0
+fn=_IO_cleanup
+0 53 3 3 15 1 1 9 0 0
+fn=_IO_flush_all_lockp
+0 82 7 7 22 11 8 14 0 0
+fn=_IO_list_lock
+0 12 2 2 6 1 1 1 0 0
+fn=_IO_list_unlock
+0 11 1 1 4 0 0 2 0 0
+fn=__cxa_atexit
+0 75 3 3 15 0 0 24 1 1
+fn=__cxa_finalize
+0 279 6 6 72 1 1 28 0 0
+fn=__init_misc
+0 24 2 2 7 1 0 5 2 1
+fn=__libc_csu_init
+0 25 2 2 7 0 0 7 0 0
+fn=__libc_fini
+0 6 0 0 3 0 0 1 0 0
+fn=__libc_global_ctors
+0 13 2 2 4 1 1 2 0 0
+fn=__libc_memalign
+0 1076 4 4 210 0 0 206 0 0
+fn=__new_exitfn
+0 111 6 6 30 5 5 10 0 0
+fn=__sigjmp_save
+0 9 0 0 2 0 0 2 0 0
+fn=__sigsetjmp
+0 246 5 5 64 0 0 104 1 1
+fn=__unregister_atfork
+0 32 2 2 12 0 0 4 0 0
+fn=_dl_add_to_slotinfo
+0 40 4 4 16 4 0 10 1 0
+fn=_dl_allocate_tls_init
+0 133 8 8 44 4 0 18 1 1
+fn=_dl_allocate_tls_storage
+0 267 3 3 7 0 0 229 28 28
+fn=_dl_cache_libcmp
+0 3198 5 5 431 26 26 0 0 0
+fn=_dl_catch_error
+0 432 3 3 144 0 0 204 2 2
+fn=_dl_check_all_versions
+0 124 3 3 19 0 0 11 0 0
+fn=_dl_check_map_versions
+0 3224 15 15 1055 14 14 403 28 28
+fn=_dl_debug_initialize
+0 76 3 3 24 2 1 4 0 0
+fn=_dl_debug_state
+0 2 0 0 2 0 0 0 0 0
+fn=_dl_determine_tlsoffset
+0 101 6 6 20 1 1 11 0 0
+fn=_dl_discover_osversion
+0 87 4 4 12 1 1 4 1 1
+fn=_dl_fini
+0 409 12 12 134 2 0 43 3 0
+fn=_dl_fixup
+0 511 6 6 185 34 2 49 0 0
+fn=_dl_important_hwcaps
+0 257 16 16 49 0 0 38 3 3
+fn=_dl_init
+0 104 5 5 25 3 0 15 0 0
+fn=_dl_init_paths
+0 1752 17 17 249 1 1 42 3 3
+fn=_dl_initial_error_catch_tsd
+0 26 1 1 13 0 0 0 0 0
+fn=_dl_load_cache_lookup
+0 1051 13 13 218 30 30 66 0 0
+fn=_dl_lookup_symbol_x
+0 525566 10 10 81654 1223 1065 27278 2 0
+fn=_dl_map_object
+0 2229 23 23 566 1 1 331 9 9
+fn=_dl_map_object_deps
+0 2706 28 28 517 3 2 191 3 2
+fn=_dl_map_object_from_fd
+0 4446 46 46 936 47 47 459 55 55
+fn=_dl_name_match_p
+0 5288 2 2 1419 15 0 818 2 2
+fn=_dl_new_object
+0 1241 13 13 237 8 8 231 36 36
+fn=_dl_next_ld_env_entry
+0 296 2 2 102 23 23 2 0 0
+fn=_dl_next_tls_modid
+0 16 1 1 6 0 0 2 0 0
+fn=_dl_protect_relro
+0 80 2 2 24 0 0 8 0 0
+fn=_dl_receive_error
+0 28 2 2 10 0 0 12 0 0
+fn=_dl_relocate_object
+0 183718 36 36 47179 2861 2100 14356 753 490
+fn=_dl_runtime_resolve
+0 147 2 2 63 0 0 56 0 0
+fn=_dl_setup_hash
+0 203 2 2 49 10 10 42 1 1
+fn=_dl_sort_fini
+0 666 6 6 172 5 0 24 0 0
+fn=_dl_start
+0 397 17 16 48 14 12 40 12 12
+fn=_dl_sysdep_read_whole_file
+0 42 3 3 6 0 0 9 0 0
+fn=_dl_sysdep_start
+0 395 13 13 108 16 15 27 2 2
+fn=_dl_sysdep_start_cleanup
+0 1 0 0 1 0 0 0 0 0
+fn=_dl_unload_cache
+0 10 0 0 3 0 0 2 0 0
+fn=_dl_vdso_vsym
+0 16 1 1 6 1 0 0 0 0
+fn=_fxstat
+0 60 1 1 6 0 0 0 0 0
+fn=_init
+0 136 9 9 22 4 1 18 5 4
+fn=_setjmp
+0 2 1 1 0 0 0 0 0 0
+fn=_xstat
+0 199 1 1 16 0 0 13 0 0
+fn=access
+0 11 1 1 1 0 0 1 0 0
+fn=brk
+0 11 1 1 1 0 0 1 1 1
+fn=bsearch
+0 3388 3 3 416 0 0 585 1 0
+fn=call_init
+0 307 5 5 105 17 0 60 0 0
+fn=calloc
+0 126 2 2 0 0 0 0 0 0
+fn=check_match.8652
+0 68308 7 7 23580 165 102 5922 0 0
+fn=close
+0 30 0 0 6 0 0 0 0 0
+fn=dl_main
+0 1126 63 63 289 32 19 128 14 14
+fn=do_lookup_x
+0 327134 13 13 104586 1864 506 46308 1 0
+fn=do_preload
+0 28 3 3 7 0 0 9 0 0
+fn=exit
+0 76 4 4 11 1 1 10 0 0
+fn=expand_dynamic_string_token
+0 32 3 3 6 0 0 9 0 0
+fn=fillin_rpath
+0 513 16 16 94 0 0 85 4 4
+fn=fork
+0 45 6 6 11 1 1 9 0 0
+fn=handle_intel
+0 195 4 4 26 0 0 45 1 1
+fn=index
+0 723 2 2 66 7 7 0 0 0
+fn=init_cacheinfo
+0 106 8 8 4 0 0 10 3 3
+fn=init_tls
+0 86 4 4 22 3 1 14 0 0
+fn=intel_02_known_compare
+0 1218 1 1 528 20 20 0 0 0
+fn=intel_check_word
+0 921 7 7 95 0 0 146 1 1
+fn=local_strdup
+0 68 1 1 8 0 0 16 0 0
+fn=malloc
+0 114 0 0 0 0 0 0 0 0
+fn=map_doit
+0 15 2 2 6 0 0 4 0 0
+fn=match_symbol
+0 1251 4 4 465 24 24 144 0 0
+fn=memcpy
+0 862 6 6 143 0 0 119 15 15
+fn=mempcpy
+0 2443 6 6 384 2 1 305 11 11
+fn=memset
+0 1042 3 3 7 0 0 515 67 67
+fn=mmap
+0 108 2 2 18 0 0 0 0 0
+fn=mprotect
+0 45 1 1 9 0 0 0 0 0
+fn=munmap
+0 5 0 0 1 0 0 0 0 0
+fn=open
+0 305 1 1 31 0 0 25 0 0
+fn=open_path
+0 2236 14 14 802 0 0 239 1 1
+fn=open_verify
+0 1879 11 11 604 7 7 325 4 4
+fn=openaux
+0 231 2 2 88 0 0 44 1 1
+fn=process_envvars
+0 230 9 9 74 4 4 16 3 3
+fn=read
+0 25 1 1 5 0 0 0 0 0
+fn=rindex
+0 123 3 3 7 3 1 0 0 0
+fn=rtld_lock_default_lock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=rtld_lock_default_unlock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=sbrk
+0 17 2 2 5 0 0 2 1 1
+fn=strcmp
+0 111123 2 2 32706 73 22 0 0 0
+fn=strlen
+0 800 2 2 103 2 2 0 0 0
+fn=strsep
+0 5157 3 3 821 0 0 8 0 0
+fn=uname
+0 5 1 1 1 0 0 0 0 0
+fn=version_check_doit
+0 10 1 1 4 0 0 2 0 0
+summary: 1275078 708 702 302765 6655 4105 100816 1095 817
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testNumFunctions/template_cachegrind_4589.txt b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testNumFunctions/template_cachegrind_4589.txt
new file mode 100644
index 0000000..6ebabc9
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testNumFunctions/template_cachegrind_4589.txt
@@ -0,0 +1,250 @@
+desc: I1 cache: 32768 B, 64 B, 8-way associative
+desc: D1 cache: 32768 B, 64 B, 8-way associative
+desc: L2 cache: 6291456 B, 64 B, 24-way associative
+cmd: XXXXXXXXXXXX/cpptest/Debug/cpptest
+events: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.cpp
+fn=A::A()
+17 7 1 1 3 0 0 3 0 0
+fn=A::B::B()
+26 7 1 1 3 0 0 3 0 0
+fn=A::B::d()
+27 4 0 0 0 0 0 2 0 0
+28 5 0 0 3 0 0 1 0 0
+29 3 0 0 1 0 0 1 0 0
+30 2 0 0 2 0 0 0 0 0
+fn=A::B::e()
+33 3 0 0 0 0 0 2 0 0
+34 5 0 0 3 0 0 1 0 0
+35 2 0 0 2 0 0 0 0 0
+fn=A::c()
+18 4 0 0 0 0 0 2 0 0
+19 3 0 0 0 0 0 1 0 0
+20 3 0 0 0 0 0 1 0 0
+21 4 0 0 3 0 0 0 0 0
+22 2 0 0 2 0 0 0 0 0
+fn=Foo::bar(int)
+40 5 0 0 0 0 0 3 0 0
+41 9 0 0 5 0 0 1 0 0
+42 2 0 0 2 0 0 0 0 0
+fn=Foo::baz(int, int)
+44 5 0 0 0 0 0 4 0 0
+45 3 0 0 2 0 0 0 0 0
+46 2 0 0 2 0 0 0 0 0
+fn=main
+48 5 1 1 0 0 0 3 0 0
+49 3 0 0 0 0 0 1 0 0
+50 3 0 0 0 0 0 1 0 0
+51 4 0 0 0 0 0 1 0 0
+52 3 0 0 0 0 0 1 0 0
+53 1 0 0 0 0 0 0 0 0
+54 2 0 0 2 0 0 0 0 0
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.h
+fn=Foo::Foo()
+16 7 1 1 3 0 0 3 0 0
+fl=???
+fn=(below main)
+0 57 4 4 17 2 0 17 0 0
+fn=???
+0 718 79 74 300 55 11 185 12 8
+fn=_Exit
+0 8 1 1 1 1 0 0 0 0
+fn=_IO_cleanup
+0 53 3 3 15 1 1 9 0 0
+fn=_IO_flush_all_lockp
+0 82 7 7 22 12 9 14 0 0
+fn=__cxa_atexit
+0 75 3 3 15 0 0 24 1 1
+fn=__cxa_finalize
+0 279 6 6 72 1 1 28 0 0
+fn=__init_misc
+0 24 2 2 7 1 0 5 2 1
+fn=__libc_csu_init
+0 25 3 3 7 0 0 7 0 0
+fn=__libc_fini
+0 6 0 0 3 0 0 1 0 0
+fn=__libc_global_ctors
+0 13 2 2 4 1 1 2 0 0
+fn=__libc_memalign
+0 1076 4 4 210 0 0 206 0 0
+fn=__new_exitfn
+0 111 6 6 30 5 5 10 0 0
+fn=__sigjmp_save
+0 9 0 0 2 0 0 2 0 0
+fn=__sigsetjmp
+0 246 5 5 64 0 0 104 1 1
+fn=__unregister_atfork
+0 32 2 2 12 1 1 4 0 0
+fn=_dl_add_to_slotinfo
+0 40 4 4 16 4 0 10 1 0
+fn=_dl_allocate_tls_init
+0 133 8 8 44 4 0 18 1 1
+fn=_dl_allocate_tls_storage
+0 267 3 3 7 0 0 229 28 28
+fn=_dl_cache_libcmp
+0 3198 5 5 431 26 26 0 0 0
+fn=_dl_catch_error
+0 432 3 3 144 0 0 204 2 2
+fn=_dl_check_all_versions
+0 124 3 3 19 0 0 11 0 0
+fn=_dl_check_map_versions
+0 3224 15 15 1055 15 15 403 28 28
+fn=_dl_debug_initialize
+0 76 3 3 24 2 1 4 0 0
+fn=_dl_debug_state
+0 2 0 0 2 0 0 0 0 0
+fn=_dl_determine_tlsoffset
+0 101 6 6 20 1 1 11 0 0
+fn=_dl_discover_osversion
+0 87 4 4 12 1 1 4 1 1
+fn=_dl_fini
+0 409 12 12 134 2 0 43 3 0
+fn=_dl_fixup
+0 437 6 6 158 34 1 42 0 0
+fn=_dl_important_hwcaps
+0 257 16 16 49 0 0 38 3 3
+fn=_dl_init
+0 104 5 5 25 3 0 15 0 0
+fn=_dl_init_paths
+0 1752 17 17 249 1 1 42 3 3
+fn=_dl_initial_error_catch_tsd
+0 26 1 1 13 0 0 0 0 0
+fn=_dl_load_cache_lookup
+0 1051 13 13 218 30 30 66 0 0
+fn=_dl_lookup_symbol_x
+0 525437 10 10 81620 1224 1065 27255 2 0
+fn=_dl_map_object
+0 2229 23 23 566 1 1 331 9 9
+fn=_dl_map_object_deps
+0 2706 28 28 517 3 2 191 3 2
+fn=_dl_map_object_from_fd
+0 4446 46 46 936 47 47 459 55 55
+fn=_dl_name_match_p
+0 5158 2 2 1384 15 0 798 2 2
+fn=_dl_new_object
+0 1241 13 13 237 8 8 231 36 36
+fn=_dl_next_ld_env_entry
+0 296 2 2 102 23 23 2 0 0
+fn=_dl_next_tls_modid
+0 16 1 1 6 0 0 2 0 0
+fn=_dl_protect_relro
+0 80 2 2 24 0 0 8 0 0
+fn=_dl_receive_error
+0 28 2 2 10 0 0 12 0 0
+fn=_dl_relocate_object
+0 183682 36 36 47167 2860 2097 14356 753 490
+fn=_dl_runtime_resolve
+0 126 2 2 54 0 0 48 0 0
+fn=_dl_setup_hash
+0 203 2 2 49 10 10 42 1 1
+fn=_dl_sort_fini
+0 666 6 6 172 5 0 24 0 0
+fn=_dl_start
+0 397 17 16 48 14 12 40 12 12
+fn=_dl_sysdep_read_whole_file
+0 42 3 3 6 0 0 9 0 0
+fn=_dl_sysdep_start
+0 395 13 13 108 16 15 27 2 2
+fn=_dl_sysdep_start_cleanup
+0 1 0 0 1 0 0 0 0 0
+fn=_dl_unload_cache
+0 10 0 0 3 0 0 2 0 0
+fn=_dl_vdso_vsym
+0 16 1 1 6 1 0 0 0 0
+fn=_fxstat
+0 60 1 1 6 0 0 0 0 0
+fn=_init
+0 136 9 9 22 4 1 18 5 4
+fn=_setjmp
+0 2 1 1 0 0 0 0 0 0
+fn=_xstat
+0 199 1 1 16 0 0 13 0 0
+fn=access
+0 11 1 1 1 0 0 1 0 0
+fn=brk
+0 11 1 1 1 0 0 1 1 1
+fn=bsearch
+0 3388 3 3 416 0 0 585 1 0
+fn=call_init
+0 307 5 5 105 17 0 60 0 0
+fn=calloc
+0 126 2 2 0 0 0 0 0 0
+fn=check_match.8652
+0 68242 7 7 23556 162 99 5915 0 0
+fn=close
+0 30 0 0 6 0 0 0 0 0
+fn=dl_main
+0 1126 63 63 289 32 19 128 14 14
+fn=do_lookup_x
+0 326670 13 13 104430 1862 504 46233 1 0
+fn=do_preload
+0 28 3 3 7 0 0 9 0 0
+fn=exit
+0 76 4 4 11 1 1 10 0 0
+fn=expand_dynamic_string_token
+0 32 3 3 6 0 0 9 0 0
+fn=fillin_rpath
+0 513 16 16 94 0 0 85 4 4
+fn=handle_intel
+0 195 4 4 26 0 0 45 1 1
+fn=index
+0 687 2 2 62 7 7 0 0 0
+fn=init_cacheinfo
+0 106 8 8 4 0 0 10 3 3
+fn=init_tls
+0 86 4 4 22 2 1 14 0 0
+fn=intel_02_known_compare
+0 1218 1 1 528 20 20 0 0 0
+fn=intel_check_word
+0 921 7 7 95 0 0 146 1 1
+fn=local_strdup
+0 68 1 1 8 0 0 16 0 0
+fn=malloc
+0 114 0 0 0 0 0 0 0 0
+fn=map_doit
+0 15 2 2 6 0 0 4 0 0
+fn=match_symbol
+0 1251 4 4 465 24 24 144 0 0
+fn=memcpy
+0 862 6 6 143 0 0 119 15 15
+fn=mempcpy
+0 2443 6 6 384 2 1 305 11 11
+fn=memset
+0 1042 3 3 7 0 0 515 67 67
+fn=mmap
+0 108 2 2 18 0 0 0 0 0
+fn=mprotect
+0 45 1 1 9 0 0 0 0 0
+fn=munmap
+0 5 0 0 1 0 0 0 0 0
+fn=open
+0 305 1 1 31 0 0 25 0 0
+fn=open_path
+0 2236 14 14 802 0 0 239 1 1
+fn=open_verify
+0 1879 11 11 604 7 7 325 4 4
+fn=openaux
+0 231 2 2 88 0 0 44 1 1
+fn=process_envvars
+0 230 9 9 74 4 4 16 3 3
+fn=read
+0 25 1 1 5 0 0 0 0 0
+fn=rindex
+0 105 3 3 6 2 1 0 0 0
+fn=rtld_lock_default_lock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=rtld_lock_default_unlock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=sbrk
+0 17 2 2 5 0 0 2 1 1
+fn=strcmp
+0 110867 2 2 32622 70 20 0 0 0
+fn=strlen
+0 776 2 2 99 2 2 0 0 0
+fn=strsep
+0 5157 3 3 821 0 0 8 0 0
+fn=uname
+0 5 1 1 1 0 0 0 0 0
+fn=version_check_doit
+0 10 1 1 4 0 0 2 0 0
+summary: 1273787 700 694 302365 6648 4096 100676 1095 817
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testNumPIDs/template_cachegrind_4478.txt b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testNumPIDs/template_cachegrind_4478.txt
new file mode 100644
index 0000000..6ebabc9
--- /dev/null
+++ b/valgrind/org.eclipse.linuxtools.valgrind.helgrind.tests/valgrindFiles/testNumPIDs/template_cachegrind_4478.txt
@@ -0,0 +1,250 @@
+desc: I1 cache: 32768 B, 64 B, 8-way associative
+desc: D1 cache: 32768 B, 64 B, 8-way associative
+desc: L2 cache: 6291456 B, 64 B, 24-way associative
+cmd: XXXXXXXXXXXX/cpptest/Debug/cpptest
+events: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.cpp
+fn=A::A()
+17 7 1 1 3 0 0 3 0 0
+fn=A::B::B()
+26 7 1 1 3 0 0 3 0 0
+fn=A::B::d()
+27 4 0 0 0 0 0 2 0 0
+28 5 0 0 3 0 0 1 0 0
+29 3 0 0 1 0 0 1 0 0
+30 2 0 0 2 0 0 0 0 0
+fn=A::B::e()
+33 3 0 0 0 0 0 2 0 0
+34 5 0 0 3 0 0 1 0 0
+35 2 0 0 2 0 0 0 0 0
+fn=A::c()
+18 4 0 0 0 0 0 2 0 0
+19 3 0 0 0 0 0 1 0 0
+20 3 0 0 0 0 0 1 0 0
+21 4 0 0 3 0 0 0 0 0
+22 2 0 0 2 0 0 0 0 0
+fn=Foo::bar(int)
+40 5 0 0 0 0 0 3 0 0
+41 9 0 0 5 0 0 1 0 0
+42 2 0 0 2 0 0 0 0 0
+fn=Foo::baz(int, int)
+44 5 0 0 0 0 0 4 0 0
+45 3 0 0 2 0 0 0 0 0
+46 2 0 0 2 0 0 0 0 0
+fn=main
+48 5 1 1 0 0 0 3 0 0
+49 3 0 0 0 0 0 1 0 0
+50 3 0 0 0 0 0 1 0 0
+51 4 0 0 0 0 0 1 0 0
+52 3 0 0 0 0 0 1 0 0
+53 1 0 0 0 0 0 0 0 0
+54 2 0 0 2 0 0 0 0 0
+fl=XXXXXXXXXXXX/cpptest/Debug/../cpptest.h
+fn=Foo::Foo()
+16 7 1 1 3 0 0 3 0 0
+fl=???
+fn=(below main)
+0 57 4 4 17 2 0 17 0 0
+fn=???
+0 718 79 74 300 55 11 185 12 8
+fn=_Exit
+0 8 1 1 1 1 0 0 0 0
+fn=_IO_cleanup
+0 53 3 3 15 1 1 9 0 0
+fn=_IO_flush_all_lockp
+0 82 7 7 22 12 9 14 0 0
+fn=__cxa_atexit
+0 75 3 3 15 0 0 24 1 1
+fn=__cxa_finalize
+0 279 6 6 72 1 1 28 0 0
+fn=__init_misc
+0 24 2 2 7 1 0 5 2 1
+fn=__libc_csu_init
+0 25 3 3 7 0 0 7 0 0
+fn=__libc_fini
+0 6 0 0 3 0 0 1 0 0
+fn=__libc_global_ctors
+0 13 2 2 4 1 1 2 0 0
+fn=__libc_memalign
+0 1076 4 4 210 0 0 206 0 0
+fn=__new_exitfn
+0 111 6 6 30 5 5 10 0 0
+fn=__sigjmp_save
+0 9 0 0 2 0 0 2 0 0
+fn=__sigsetjmp
+0 246 5 5 64 0 0 104 1 1
+fn=__unregister_atfork
+0 32 2 2 12 1 1 4 0 0
+fn=_dl_add_to_slotinfo
+0 40 4 4 16 4 0 10 1 0
+fn=_dl_allocate_tls_init
+0 133 8 8 44 4 0 18 1 1
+fn=_dl_allocate_tls_storage
+0 267 3 3 7 0 0 229 28 28
+fn=_dl_cache_libcmp
+0 3198 5 5 431 26 26 0 0 0
+fn=_dl_catch_error
+0 432 3 3 144 0 0 204 2 2
+fn=_dl_check_all_versions
+0 124 3 3 19 0 0 11 0 0
+fn=_dl_check_map_versions
+0 3224 15 15 1055 15 15 403 28 28
+fn=_dl_debug_initialize
+0 76 3 3 24 2 1 4 0 0
+fn=_dl_debug_state
+0 2 0 0 2 0 0 0 0 0
+fn=_dl_determine_tlsoffset
+0 101 6 6 20 1 1 11 0 0
+fn=_dl_discover_osversion
+0 87 4 4 12 1 1 4 1 1
+fn=_dl_fini
+0 409 12 12 134 2 0 43 3 0
+fn=_dl_fixup
+0 437 6 6 158 34 1 42 0 0
+fn=_dl_important_hwcaps
+0 257 16 16 49 0 0 38 3 3
+fn=_dl_init
+0 104 5 5 25 3 0 15 0 0
+fn=_dl_init_paths
+0 1752 17 17 249 1 1 42 3 3
+fn=_dl_initial_error_catch_tsd
+0 26 1 1 13 0 0 0 0 0
+fn=_dl_load_cache_lookup
+0 1051 13 13 218 30 30 66 0 0
+fn=_dl_lookup_symbol_x
+0 525437 10 10 81620 1224 1065 27255 2 0
+fn=_dl_map_object
+0 2229 23 23 566 1 1 331 9 9
+fn=_dl_map_object_deps
+0 2706 28 28 517 3 2 191 3 2
+fn=_dl_map_object_from_fd
+0 4446 46 46 936 47 47 459 55 55
+fn=_dl_name_match_p
+0 5158 2 2 1384 15 0 798 2 2
+fn=_dl_new_object
+0 1241 13 13 237 8 8 231 36 36
+fn=_dl_next_ld_env_entry
+0 296 2 2 102 23 23 2 0 0
+fn=_dl_next_tls_modid
+0 16 1 1 6 0 0 2 0 0
+fn=_dl_protect_relro
+0 80 2 2 24 0 0 8 0 0
+fn=_dl_receive_error
+0 28 2 2 10 0 0 12 0 0
+fn=_dl_relocate_object
+0 183682 36 36 47167 2860 2097 14356 753 490
+fn=_dl_runtime_resolve
+0 126 2 2 54 0 0 48 0 0
+fn=_dl_setup_hash
+0 203 2 2 49 10 10 42 1 1
+fn=_dl_sort_fini
+0 666 6 6 172 5 0 24 0 0
+fn=_dl_start
+0 397 17 16 48 14 12 40 12 12
+fn=_dl_sysdep_read_whole_file
+0 42 3 3 6 0 0 9 0 0
+fn=_dl_sysdep_start
+0 395 13 13 108 16 15 27 2 2
+fn=_dl_sysdep_start_cleanup
+0 1 0 0 1 0 0 0 0 0
+fn=_dl_unload_cache
+0 10 0 0 3 0 0 2 0 0
+fn=_dl_vdso_vsym
+0 16 1 1 6 1 0 0 0 0
+fn=_fxstat
+0 60 1 1 6 0 0 0 0 0
+fn=_init
+0 136 9 9 22 4 1 18 5 4
+fn=_setjmp
+0 2 1 1 0 0 0 0 0 0
+fn=_xstat
+0 199 1 1 16 0 0 13 0 0
+fn=access
+0 11 1 1 1 0 0 1 0 0
+fn=brk
+0 11 1 1 1 0 0 1 1 1
+fn=bsearch
+0 3388 3 3 416 0 0 585 1 0
+fn=call_init
+0 307 5 5 105 17 0 60 0 0
+fn=calloc
+0 126 2 2 0 0 0 0 0 0
+fn=check_match.8652
+0 68242 7 7 23556 162 99 5915 0 0
+fn=close
+0 30 0 0 6 0 0 0 0 0
+fn=dl_main
+0 1126 63 63 289 32 19 128 14 14
+fn=do_lookup_x
+0 326670 13 13 104430 1862 504 46233 1 0
+fn=do_preload
+0 28 3 3 7 0 0 9 0 0
+fn=exit
+0 76 4 4 11 1 1 10 0 0
+fn=expand_dynamic_string_token
+0 32 3 3 6 0 0 9 0 0
+fn=fillin_rpath
+0 513 16 16 94 0 0 85 4 4
+fn=handle_intel
+0 195 4 4 26 0 0 45 1 1
+fn=index
+0 687 2 2 62 7 7 0 0 0
+fn=init_cacheinfo
+0 106 8 8 4 0 0 10 3 3
+fn=init_tls
+0 86 4 4 22 2 1 14 0 0
+fn=intel_02_known_compare
+0 1218 1 1 528 20 20 0 0 0
+fn=intel_check_word
+0 921 7 7 95 0 0 146 1 1
+fn=local_strdup
+0 68 1 1 8 0 0 16 0 0
+fn=malloc
+0 114 0 0 0 0 0 0 0 0
+fn=map_doit
+0 15 2 2 6 0 0 4 0 0
+fn=match_symbol
+0 1251 4 4 465 24 24 144 0 0
+fn=memcpy
+0 862 6 6 143 0 0 119 15 15
+fn=mempcpy
+0 2443 6 6 384 2 1 305 11 11
+fn=memset
+0 1042 3 3 7 0 0 515 67 67
+fn=mmap
+0 108 2 2 18 0 0 0 0 0
+fn=mprotect
+0 45 1 1 9 0 0 0 0 0
+fn=munmap
+0 5 0 0 1 0 0 0 0 0
+fn=open
+0 305 1 1 31 0 0 25 0 0
+fn=open_path
+0 2236 14 14 802 0 0 239 1 1
+fn=open_verify
+0 1879 11 11 604 7 7 325 4 4
+fn=openaux
+0 231 2 2 88 0 0 44 1 1
+fn=process_envvars
+0 230 9 9 74 4 4 16 3 3
+fn=read
+0 25 1 1 5 0 0 0 0 0
+fn=rindex
+0 105 3 3 6 2 1 0 0 0
+fn=rtld_lock_default_lock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=rtld_lock_default_unlock_recursive
+0 2 0 0 2 0 0 0 0 0
+fn=sbrk
+0 17 2 2 5 0 0 2 1 1
+fn=strcmp
+0 110867 2 2 32622 70 20 0 0 0
+fn=strlen
+0 776 2 2 99 2 2 0 0 0
+fn=strsep
+0 5157 3 3 821 0 0 8 0 0
+fn=uname
+0 5 1 1 1 0 0 0 0 0
+fn=version_check_doit
+0 10 1 1 4 0 0 2 0 0
+summary: 1273787 700 694 302365 6648 4096 100676 1095 817
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.test-feature/feature.xml b/valgrind/org.eclipse.linuxtools.valgrind.test-feature/feature.xml
index f0e09ae..4e7c660 100644
--- a/valgrind/org.eclipse.linuxtools.valgrind.test-feature/feature.xml
+++ b/valgrind/org.eclipse.linuxtools.valgrind.test-feature/feature.xml
@@ -85,4 +85,11 @@
version="0.0.0"
fragment="true"/>
+ <plugin
+ id="org.eclipse.linuxtools.valgrind.helgrind.tests"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
</feature>
diff --git a/valgrind/pom.xml b/valgrind/pom.xml
index 651ef6e..0cf210a 100644
--- a/valgrind/pom.xml
+++ b/valgrind/pom.xml
@@ -64,6 +64,7 @@
<module>org.eclipse.linuxtools.valgrind.doc</module>
<module>org.eclipse.linuxtools.valgrind-feature</module>
<module>org.eclipse.linuxtools.valgrind.helgrind</module>
+ <module>org.eclipse.linuxtools.valgrind.helgrind.tests</module>
<module>org.eclipse.linuxtools.valgrind.launch</module>
<!--<module>org.eclipse.linuxtools.valgrind.launch.remote</module>-->
<module>org.eclipse.linuxtools.valgrind.massif</module>