From: Matthew Khouzam Date: Thu, 18 Feb 2016 22:39:52 +0000 (-0500) Subject: lttng: Add irq_softirq_raise to lttng 2.7 layout X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=f8292c94fe4747fe3782960ffac2f3bd0b7812ff;p=deliverable%2Ftracecompass.git lttng: Add irq_softirq_raise to lttng 2.7 layout This patch adds the definition for soft irq raises. When LTTng 2.7 came out, it renamed softirq raise, entry and exit events. That patch[1] was tested using the critical path analysis which does not look up the raise event, only entry and exit. The only view that shows raised states is the resources view, This patch fixes the regression on that patch. Testing is only done with an LTTng 2.0 trace therefore it fell through the cracks on that side too. [1] e8e9291 lttng: additions definitions for lttng 2.7 and 2.8 Change-Id: Ibd9902d57a8dfb908153df257650235f369a48e0 Signed-off-by: Matthew Khouzam Reviewed-on: https://git.eclipse.org/r/66877 Reviewed-by: Hudson CI --- diff --git a/lttng/org.eclipse.tracecompass.lttng2.kernel.core/src/org/eclipse/tracecompass/internal/lttng2/kernel/core/trace/layout/Lttng27EventLayout.java b/lttng/org.eclipse.tracecompass.lttng2.kernel.core/src/org/eclipse/tracecompass/internal/lttng2/kernel/core/trace/layout/Lttng27EventLayout.java index dbd151d1fe..18dd70fc8a 100644 --- a/lttng/org.eclipse.tracecompass.lttng2.kernel.core/src/org/eclipse/tracecompass/internal/lttng2/kernel/core/trace/layout/Lttng27EventLayout.java +++ b/lttng/org.eclipse.tracecompass.lttng2.kernel.core/src/org/eclipse/tracecompass/internal/lttng2/kernel/core/trace/layout/Lttng27EventLayout.java @@ -109,6 +109,11 @@ public class Lttng27EventLayout extends Lttng26EventLayout { return "timer_hrtimer_expire_exit"; //$NON-NLS-1$ } + @Override + public String eventSoftIrqRaise() { + return "irq_softirq_raise"; //$NON-NLS-1$ + } + @Override public String eventSoftIrqEntry() { return "irq_softirq_entry"; //$NON-NLS-1$