Skip to content

Commit

Permalink
jifa: publish trace type
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Khouzam <[email protected]>
Change-Id: Id2d253a189b05c9505b01f81fb50acb3f48798a9
  • Loading branch information
MatthewKhouzam committed Jul 29, 2024
1 parent 53d474b commit 03cad4d
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ output.. = bin/
bin.includes = META-INF/,\
.,\
about.html,\
plugin.properties
plugin.properties,\
plugin.xml,\
ico/
src.includes = ico/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions tracetypes/org.eclipse.tracecompass.incubator.jifa.core/plugin.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.linuxtools.tmf.analysis.xml.core.files">
<xmlfile
file="src/org/eclipse/tracecompass/incubator/internal/jifa/core/gclog/xmlanalysis/gc_analysis.xml">
</xmlfile>
</extension>
<extension
point="org.eclipse.linuxtools.tmf.core.tracetype">
<type
event_type="org.eclipse.tracecompass.tmf.core.event.TmfEvent"
id="org.eclipse.tracecompass.jifa.gclog"
isDirectory="false"
name="Java GC Log"
trace_type="org.eclipse.tracecompass.incubator.internal.jifa.core.gclog.GCTrace">
</type>
</extension>
<extension
point="org.eclipse.linuxtools.tmf.ui.tracetypeui">
<type
icon="ico/gc.png"
tracetype="org.eclipse.tracecompass.jifa.gclog">
</type>
</extension>

</plugin>
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@
*/
public class GCTrace extends TmfTrace {

/**
* The Trace ID
*/
public static final String ID = "org.eclipse.tracecompass.jifa.gclog"; //$NON-NLS-1$
private @Nullable GCModel fModel;
private TmfLongLocation fLocation = new TmfLongLocation(0L);
private final @NonNull List<ITmfEventAspect<?>> fAspects = new ArrayList<>();
Expand Down

0 comments on commit 03cad4d

Please sign in to comment.