Add makefile directory to include path
[lttng-modules.git] / lttng-events.c
index e1364dd5fbd9b6692bf5055f3be07048b1c951b7..71b530177a3c22c9cd0b6cae032c5172130cbc31 100644 (file)
@@ -2023,8 +2023,8 @@ int _lttng_event_header_declare(struct lttng_session *session)
  * taken at start of trace.
  * Yes, this is only an approximation. Yes, we can (and will) do better
  * in future versions.
- * Return 0 if offset is negative. It may happen if the system sets
- * the REALTIME clock to 0 after boot.
+ * This function may return a negative offset. It may happen if the
+ * system sets the REALTIME clock to 0 after boot.
  */
 static
 int64_t measure_clock_offset(void)
@@ -2269,6 +2269,9 @@ static int __init lttng_events_init(void)
        if (ret)
                return ret;
        ret = wrapper_get_pfnblock_flags_mask_init();
+       if (ret)
+               return ret;
+       ret = wrapper_get_pageblock_flags_mask_init();
        if (ret)
                return ret;
        ret = lttng_context_init();
This page took 0.023797 seconds and 4 git commands to generate.