Skip to content

Commit

Permalink
callstack: remove xml analysis
Browse files Browse the repository at this point in the history
Signed-off-by: Arnaud Fiorini <fiorini.arnaud@gmail.com>
  • Loading branch information
arfio committed Apr 16, 2024
1 parent 8b70339 commit 8016bd8
Show file tree
Hide file tree
Showing 14 changed files with 3 additions and 1,029 deletions.
Expand Up @@ -41,7 +41,6 @@ Export-Package: org.eclipse.tracecompass.incubator.callstack.core.tests,
org.eclipse.tracecompass.incubator.callstack.core.tests.lttng2.ust.callstack,
org.eclipse.tracecompass.incubator.callstack.core.tests.perf.analysis,
org.eclipse.tracecompass.incubator.callstack.core.tests.sampled,
org.eclipse.tracecompass.incubator.callstack.core.tests.stubs,
org.eclipse.tracecompass.incubator.callstack.core.tests.xml.module
org.eclipse.tracecompass.incubator.callstack.core.tests.stubs
Import-Package: com.google.common.collect
Automatic-Module-Name: org.eclipse.tracecompass.incubator.callstack.core.tests
Expand Up @@ -18,5 +18,4 @@ bin.includes = META-INF/,\
about.html,\
plugin.properties,\
plugin.xml,\
test_xml_files/,\
testfiles/
Expand Up @@ -77,7 +77,7 @@ private FlameChartDataProvider getDataProvider() {
public void testGetDescriptors() {
FlameChartDataProviderFactory dataProviderFactory = new FlameChartDataProviderFactory();
Collection<IDataProviderDescriptor> descriptors = dataProviderFactory.getDescriptors(getTrace());
assertEquals(descriptors.size(), 2);
assertEquals(1, descriptors.size());

for (IDataProviderDescriptor descriptor : descriptors) {
switch(descriptor.getId()) {
Expand All @@ -86,11 +86,6 @@ public void testGetDescriptors() {
assertEquals(IDataProviderDescriptor.ProviderType.TIME_GRAPH, descriptor.getType());
assertEquals("Show FlameChart provided by Analysis module: Test Callstack", descriptor.getDescription());
break;
case "org.eclipse.tracecompass.incubator.internal.callstack.core.instrumented.provider.flamechart:callstack.analysis":
assertEquals("FlameChart Test XML callstack", descriptor.getName());
assertEquals(IDataProviderDescriptor.ProviderType.TIME_GRAPH, descriptor.getType());
assertEquals("Show FlameChart provided by Analysis module: Test XML callstack", descriptor.getDescription());
break;
default:
fail("Unknown Entry" + descriptor.getId());
break;
Expand Down

This file was deleted.

This file was deleted.

Expand Up @@ -39,8 +39,7 @@ Export-Package: org.eclipse.tracecompass.incubator.callstack.core.base,
org.eclipse.tracecompass.incubator.internal.callstack.core.instrumented.callgraph;x-friends:="org.eclipse.tracecompass.incubator.callstack.core.tests,org.eclipse.tracecompass.incubator.callstack.ui",
org.eclipse.tracecompass.incubator.internal.callstack.core.instrumented.provider,
org.eclipse.tracecompass.incubator.internal.callstack.core.palette,
org.eclipse.tracecompass.incubator.internal.callstack.core.symbol;x-internal:=true,
org.eclipse.tracecompass.incubator.internal.callstack.core.xml.callstack;x-friends:="org.eclipse.tracecompass.incubator.callstack.core.tests,org.eclipse.tracecompass.incubator.callstack.ui"
org.eclipse.tracecompass.incubator.internal.callstack.core.symbol;x-internal:=true
Import-Package: com.google.common.annotations,
com.google.common.base,
com.google.common.cache,
Expand Down
Expand Up @@ -14,6 +14,5 @@ output.. = bin/
bin.includes = META-INF/,\
about.html,\
plugin.properties,\
xsd_files/,\
.,\
plugin.xml
Expand Up @@ -3,12 +3,6 @@
<plugin>
<extension
point="org.eclipse.tracecompass.tmf.analysis.xml.core.xsd">
<xsdfile
file="xsd_files/xmlCallstack.xsd">
</xsdfile>
<schemaParser
class="org.eclipse.tracecompass.incubator.internal.callstack.core.xml.callstack.CallstackXmlSchemaParser">
</schemaParser>
</extension>
<extension
point="org.eclipse.linuxtools.tmf.core.analysis">
Expand Down

0 comments on commit 8016bd8

Please sign in to comment.