Optimisation: only fix pending events once per lazy update
[lttng-ust.git] / liblttng-ust / lttng-events.c
index ca8587306c2c37b6c6f93ac7ff7cc39a2bfb13c7..e4faf605e6e0eb1d5642fc5dea1b2d4bd0ae5946 100644 (file)
@@ -635,12 +635,9 @@ int lttng_enabler_ref_events(struct lttng_enabler *enabler)
 /*
  * Called at library load: connect the probe on all enablers matching
  * this event.
- * called with session mutex held.
- * TODO: currently, for each desc added, we iterate on all event desc
- * (inefficient). We should create specific code that only target the
- * added desc.
+ * Called with session mutex held.
  */
-int lttng_fix_pending_event_desc(const struct lttng_event_desc *desc)
+int lttng_fix_pending_events(void)
 {
        struct lttng_session *session;
 
This page took 0.02615 seconds and 4 git commands to generate.