lttng: update and add HR timer related events and fields
[deliverable/tracecompass.git] / analysis / org.eclipse.tracecompass.analysis.os.linux.core / src / org / eclipse / tracecompass / analysis / os / linux / core / trace / IKernelAnalysisEventLayout.java
index fbfeb1de2591571219d76a862c10c90e2e09d9f5..0d7e59b854c58245a16c57807d3b6ccaeee9df8a 100644 (file)
@@ -216,6 +216,39 @@ public interface IKernelAnalysisEventLayout {
      */
     String eventSchedProcessWakeupNew();
 
+
+    /**
+     * Starting the high resolution timer
+     * <p>
+     * In Linux, High resolution timers are used in the following:
+     * <ul>
+     * <li>nanosleep</li>
+     * <li>itimers</li>
+     * <li>posix timers</li>
+     * </ul>
+     *
+     * @return the event name
+     *
+     * @since 2.0
+     */
+    String eventHRTimerStart();
+
+    /**
+     * Canceling the high resolution timer
+     * <p>
+     * In Linux, High resolution timers are used in the following:
+     * <ul>
+     * <li>nanosleep</li>
+     * <li>itimers</li>
+     * <li>posix timers</li>
+     * </ul>
+     *
+     * @return the event name
+     *
+     * @since 2.0
+     */
+    String eventHRTimerCancel();
+
     /**
      * Entering the high resolution timer expired handler.
      * <p>
@@ -440,4 +473,48 @@ public interface IKernelAnalysisEventLayout {
      * @since 1.0
      */
     String fieldNextPrio();
+
+    /**
+     * The field with the hrtimer. The hrtimer holds the timer instance.
+     *
+     * @return the name of the hrTimer field
+     * @since 2.0
+     */
+    String fieldHRtimer();
+
+    /**
+     * The field with the expires value. The expires field holds the expiry time.
+     * of the hrtimer.
+     *
+     * @return the name of the expires field
+     * @since 2.0
+     */
+    String fieldHRtimerExpires();
+
+    /**
+     * Gets the field name with the softexpires value. The softexpire value is the
+     * absolute earliest expiry time of the hrtimer.
+     *
+     * @return the name of the softexpires field
+     * @since 2.0
+     */
+    String fieldHRtimerSoftexpires();
+
+    /**
+     * The field of the function address value. The function field holds timer
+     * expiry callback function.
+     *
+     * @return the name of the function field
+     * @since 2.0
+     */
+    String fieldHRtimerFunction();
+
+    /**
+     * The field of the now value. The now field holds the current time.
+     *
+     * @return the name of the now field (hrtimer)
+     * @since 2.0
+     */
+    String fieldHRtimerNow();
+
 }
This page took 0.032722 seconds and 5 git commands to generate.