analysis: Move plugins to their own sub-directory
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / statistics / TmfStatisticsEventTypesModule.java
index a7c6f4a2fe65c58fabab55d599a1500979c9bcbb..0ad0c8b652593e5f2b6f790db194b56876f71740 100644 (file)
@@ -36,7 +36,6 @@ import org.eclipse.tracecompass.tmf.core.trace.ITmfTrace;
  * TmfAnalysisManager), as it is being handled by the TmfStatisticsModule.
  *
  * @author Alexandre Montplaisir
- * @since 3.0
  */
 public class TmfStatisticsEventTypesModule extends TmfStateSystemAnalysisModule {
 
@@ -104,7 +103,7 @@ public class TmfStatisticsEventTypesModule extends TmfStateSystemAnalysisModule
          *            The trace for which we build this state system
          */
         public StatsProviderEventTypes(@NonNull ITmfTrace trace) {
-            super(trace, ITmfEvent.class ,"TMF Statistics, events per type"); //$NON-NLS-1$
+            super(trace ,"TMF Statistics, events per type"); //$NON-NLS-1$
         }
 
         @Override
@@ -126,7 +125,7 @@ public class TmfStatisticsEventTypesModule extends TmfStateSystemAnalysisModule
              * timestamp values to nanoseconds. */
             final long ts = event.getTimestamp().normalize(0, ITmfTimestamp.NANOSECOND_SCALE).getValue();
 
-            final String eventName = event.getType().getName();
+            final String eventName = event.getName();
 
             try {
                 /* Special handling for lost events */
This page took 0.031551 seconds and 5 git commands to generate.