} while (0);
BT_HIDDEN
-bool lttng_live_is_canceled(struct lttng_live_component *lttng_live)
+bool lttng_live_graph_is_canceled(struct lttng_live_component *lttng_live)
{
const bt_component *component;
bool ret;
if (lttng_live_detach_session(session)) {
live_comp = session->lttng_live_msg_iter->lttng_live_comp;
if (session->lttng_live_msg_iter &&
- !lttng_live_is_canceled(live_comp)) {
+ !lttng_live_graph_is_canceled(live_comp)) {
/* Old relayd cannot detach sessions. */
BT_LOGD("Unable to detach lttng live session %" PRIu64,
session->id);
if (!session->attached) {
ret = lttng_live_attach_session(session);
if (ret) {
- if (lttng_live_msg_iter && lttng_live_is_canceled(
+ if (lttng_live_msg_iter && lttng_live_graph_is_canceled(
lttng_live_msg_iter->lttng_live_comp)) {
status = LTTNG_LIVE_ITERATOR_STATUS_AGAIN;
} else {
}
lttng_live->self_comp = self_comp;
- if (lttng_live_is_canceled(lttng_live)) {
+ if (lttng_live_graph_is_canceled(lttng_live)) {
goto end;
}