lttng: Handle compat_syscall_exit_* events correctly
[deliverable/tracecompass.git] / analysis / org.eclipse.tracecompass.analysis.os.linux.core / src / org / eclipse / tracecompass / internal / analysis / os / linux / core / kernel / KernelStateProvider.java
index 9474d0a2dbe1fb09bfc3d57cb67f61edd6665a10..279e0db21c8ea9b77386c61dec2500a884787d97 100644 (file)
@@ -61,7 +61,7 @@ public class KernelStateProvider extends AbstractTmfStateProvider {
      * Version number of this state provider. Please bump this if you modify the
      * contents of the generated state history in some way.
      */
-    private static final int VERSION = 10;
+    private static final int VERSION = 11;
 
     // ------------------------------------------------------------------------
     // Fields
@@ -195,7 +195,8 @@ public class KernelStateProvider extends AbstractTmfStateProvider {
     }
 
     private boolean isSyscallExit(String eventName) {
-        return (eventName.startsWith(fLayout.eventSyscallExitPrefix()));
+        return (eventName.startsWith(fLayout.eventSyscallExitPrefix()) ||
+                eventName.startsWith(fLayout.eventCompatSyscallExitPrefix()));
     }
 
 }
This page took 0.024499 seconds and 5 git commands to generate.