DBG("Session find by ID %" PRIu64 " id NOT found", id);
goto end;
}
- session = caa_container_of(node, struct relay_session, session_n);
+ session = lttng::utils::container_of(node, &relay_session::session_n);
DBG("Session find by ID %" PRIu64 " id found", id);
if (!session_get(session)) {
session = NULL;
static void session_release(struct urcu_ref *ref)
{
struct relay_session *session =
- caa_container_of(ref, struct relay_session, ref);
+ lttng::utils::container_of(ref, &relay_session::ref);
destroy_session(session);
}