package org.eclipse.tracecompass.internal.lttng2.kernel.core.trace.layout;
+import java.util.Collection;
+
+import com.google.common.collect.ImmutableList;
+
/**
* This file defines all the known event and field names for LTTng kernel
* traces, for versions of lttng-modules 2.8 and above.
*/
public class Lttng28EventLayout extends Lttng27EventLayout {
+ private final Collection<String> fSchedWakeupEvents28;
+
/**
* Constructor
*/
protected Lttng28EventLayout() {
+ fSchedWakeupEvents28 = ImmutableList.<String> builder()
+ .addAll(super.eventsSchedWakeup())
+ .add(eventSchedProcessWaking())
+ .build();
}
private static final Lttng28EventLayout INSTANCE = new Lttng28EventLayout();
return "sched_waking"; //$NON-NLS-1$
}
+ @Override
+ public Collection<String> eventsSchedWakeup() {
+ return fSchedWakeupEvents28;
+ }
+
}