Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add gc segment analysis
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Change-Id: Ibceade792bb73027bd4c7c398459beabc2490d7f
MatthewKhouzam committed Jun 12, 2024
1 parent c6a089f commit 9f1e708
Showing 3 changed files with 44 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -13,6 +13,7 @@ Require-Bundle: org.eclipse.core.runtime,
org.eclipse.tracecompass.common.core,
org.eclipse.tracecompass.tmf.core,
org.eclipse.tracecompass.analysis.counters.core,
org.eclipse.tracecompass.tmf.analysis.xml.core,
org.eclipse.jdt.annotation;bundle-version="2.3.0"
Import-Package: com.google.common.cache;version="33.0.0",
com.google.gson;version="[2.10.0,3.0.0]",
Original file line number Diff line number Diff line change
@@ -27,5 +27,11 @@
</tracetype>
</module>
</extension>
<extension
point="org.eclipse.linuxtools.tmf.analysis.xml.core.files">
<xmlfile
file="src/org/eclipse/tracecompass/incubator/internal/syslog/core/gclog/xmlanalysis/gc_analysis.xml">
</xmlfile>
</extension>

</plugin>
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

<tmfxml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="xmlDefinition.xsd">
<!-- ***************************************************************************
* Copyright (c) 2024 Ericsson * * All rights reserved. This program and the
accompanying materials are * made available under the terms of the Eclipse
Public License 2.0 which * accompanies this distribution, and is available
at * https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier:
EPL-2.0 *************************************************************************** -->
<pattern version="1" id="system.gc.duration">
<head>
<label value="GC Segments" />
</head>
<patternHandler>
<action id="segment_create">
<segment>
<segType>
<segName>
<stateValue type="eventField" value="Cause" />
</segName>
</segType>
<segTime>
<begin type="eventField" value="timestamp" />
<duration type="eventField" value="Pause" />
</segTime>
</segment>
</action>
<fsm id="gcs" multiple="true">
<state id="start">
<transition event="*" target="duration"
action="segment_create" />
</state>
<final id="duration" />
</fsm>
</patternHandler>
</pattern>
</tmfxml>

0 comments on commit 9f1e708

Please sign in to comment.