X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fgraph%2Fnotification%2Fevent.c;h=065df3038d69f7993b69a15f7536b1505d775ffb;hb=3dca22768a95bef664012559aa9ac977091de6ac;hp=b42801d741393e5381e2a4472979351980b5e039;hpb=d975f66c5dcfc7eade13db3edbc975d2055dfe4b;p=babeltrace.git diff --git a/lib/graph/notification/event.c b/lib/graph/notification/event.c index b42801d7..065df303 100644 --- a/lib/graph/notification/event.c +++ b/lib/graph/notification/event.c @@ -76,7 +76,7 @@ bt_bool validate_clock_classes(struct bt_notification_event *notif) struct bt_stream_class *stream_class = NULL; struct bt_trace *trace = NULL; - event_class = bt_event_borrow_event_class(notif->event); + event_class = bt_event_borrow_class(notif->event); BT_ASSERT(event_class); stream_class = bt_event_class_borrow_stream_class(event_class); BT_ASSERT(stream_class); @@ -158,7 +158,7 @@ static inline bool event_has_trace(struct bt_event *event) struct bt_event_class *event_class; struct bt_stream_class *stream_class; - event_class = bt_event_borrow_event_class(event); + event_class = bt_event_borrow_class(event); BT_ASSERT(event_class); stream_class = bt_event_class_borrow_stream_class(event_class); BT_ASSERT(stream_class); @@ -185,7 +185,7 @@ struct bt_notification *bt_notification_event_create(struct bt_event *event, } BT_ASSERT(cc_prio_map); - event_class = bt_event_borrow_event_class(event); + event_class = bt_event_borrow_class(event); BT_ASSERT(event_class); BT_LOGD("Creating event notification object: " "event-addr=%p, event-class-addr=%p, "