lttng: Move the UST Callstack analysis to use ILttngUstEventLayout
[deliverable/tracecompass.git] / lttng / org.eclipse.tracecompass.lttng2.ust.core / src / org / eclipse / tracecompass / internal / lttng2 / ust / core / trace / layout / LttngUst20EventLayout.java
index 711dd3b0b62d17fe17865311d377f8182a9dd55d..d818bdf562acf9b8fddf0ea35beebb4b37b5ec37 100644 (file)
@@ -69,6 +69,30 @@ public class LttngUst20EventLayout implements ILttngUstEventLayout {
         return "ust_libc:posix_memalign";
     }
 
+    // ------------------------------------------------------------------------
+    // Event names used in liblttng-cyg-profile
+    // ------------------------------------------------------------------------
+
+    @Override
+    public String eventCygProfileFuncEntry() {
+        return "lttng_ust_cyg_profile:func_entry";
+    }
+
+    @Override
+    public String eventCygProfileFastFuncEntry() {
+        return "lttng_ust_cyg_profile_fast:func_entry";
+    }
+
+    @Override
+    public String eventCygProfileFuncExit() {
+        return "lttng_ust_cyg_profile:func_exit";
+    }
+
+    @Override
+    public String eventCygProfileFastFuncExit() {
+        return "lttng_ust_cyg_profile_fast:func_exit";
+    }
+
     // ------------------------------------------------------------------------
     // Field names
     // ------------------------------------------------------------------------
@@ -98,6 +122,11 @@ public class LttngUst20EventLayout implements ILttngUstEventLayout {
         return "in_ptr";
     }
 
+    @Override
+    public String fieldAddr() {
+        return "addr";
+    }
+
     // ------------------------------------------------------------------------
     // Context field names
     // Note: The CTF parser exposes contexts as fields called "context._<name>"
This page took 0.024881 seconds and 5 git commands to generate.