X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Ftrace-ir%2Fevent.c;fp=lib%2Ftrace-ir%2Fevent.c;h=8bbb1fcacfc662ecd902d933953350e0eb61cbdd;hb=dc68f16da7c8a96930d36f50489d6697c852b733;hp=1b3a085f494fb27e2bbb3d301ea78b0c94e33a7a;hpb=8c41fd73456a0645bb1798174e49b882d4f7bff7;p=babeltrace.git diff --git a/lib/trace-ir/event.c b/lib/trace-ir/event.c index 1b3a085f..8bbb1fca 100644 --- a/lib/trace-ir/event.c +++ b/lib/trace-ir/event.c @@ -349,14 +349,14 @@ void bt_event_set_default_clock_snapshot(struct bt_event *event, "value=%" PRIu64, event, value_cycles); } -enum bt_clock_snapshot_status bt_event_borrow_default_clock_snapshot_const( +enum bt_clock_snapshot_state bt_event_borrow_default_clock_snapshot_const( const struct bt_event *event, const struct bt_clock_snapshot **clock_snapshot) { BT_ASSERT_PRE_NON_NULL(event, "Event"); BT_ASSERT_PRE_NON_NULL(clock_snapshot, "Clock snapshot (output)"); *clock_snapshot = event->default_cs; - return BT_CLOCK_SNAPSHOT_STATUS_KNOWN; + return BT_CLOCK_SNAPSHOT_STATE_KNOWN; } struct bt_packet *bt_event_borrow_packet(struct bt_event *event)