+ lf->priv = kzalloc(sizeof(*lf->priv), GFP_KERNEL);
+ if (!lf->priv)
+ return -ENOMEM;
+ lf->priv->session = session;
+ lf->priv->tracker_type = type;
+ return 0;
+}
+
+void lttng_id_tracker_destroy(struct lttng_kernel_id_tracker *lf, bool rcu)
+{
+ struct lttng_kernel_id_tracker_rcu *p = lf->p;