ctf: Move plugins to their own sub-directory
[deliverable/tracecompass.git] / org.eclipse.tracecompass.lttng2.kernel.core / src / org / eclipse / tracecompass / internal / lttng2 / kernel / core / trace / layout / LttngEventLayout.java
index 1f21a504dc1316a353083c3469b35d1338714dd2..13a9fbf62b2a610064ca50b8cdd2c853514c7bb8 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012, 2014 Ericsson
+ * Copyright (c) 2012, 2015 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -41,6 +41,7 @@ public class LttngEventLayout implements IKernelAnalysisEventLayout {
     private static final String SOFTIRQ_EXIT = "softirq_exit";
     private static final String SOFTIRQ_RAISE = "softirq_raise";
     private static final String SCHED_SWITCH = "sched_switch";
+    private static final String SCHED_PI_SETPRIO = "sched_pi_setprio";
 
     private static final Collection<String> SCHED_WAKEUP_EVENTS =
             checkNotNull(ImmutableList.of("sched_wakeup", "sched_wakeup_new"));
@@ -65,6 +66,9 @@ public class LttngEventLayout implements IKernelAnalysisEventLayout {
     private static final String PARENT_TID = "parent_tid";
     private static final String CHILD_COMM = "child_comm";
     private static final String CHILD_TID = "child_tid";
+    private static final String PRIO = "prio";
+    private static final String NEXT_PRIO = "next_prio";
+    private static final String NEW_PRIO = "newprio";
 
     /** All instances are the same. Only provide a static instance getter */
     protected LttngEventLayout() {
@@ -118,6 +122,11 @@ public class LttngEventLayout implements IKernelAnalysisEventLayout {
         return SCHED_SWITCH;
     }
 
+    @Override
+    public String eventSchedPiSetprio() {
+        return SCHED_PI_SETPRIO;
+    }
+
     @Override
     public Collection<String> eventsSchedWakeup() {
         return SCHED_WAKEUP_EVENTS;
@@ -212,4 +221,19 @@ public class LttngEventLayout implements IKernelAnalysisEventLayout {
         return CHILD_TID;
     }
 
+    @Override
+    public String fieldPrio() {
+        return PRIO;
+    }
+
+    @Override
+    public String fieldNewPrio() {
+        return NEW_PRIO;
+    }
+
+    @Override
+    public String fieldNextPrio() {
+        return NEXT_PRIO;
+    }
+
 }
This page took 0.024948 seconds and 5 git commands to generate.