projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: have default clock snapshot in event message
[babeltrace.git]
/
plugins
/
utils
/
muxer
/
muxer.c
diff --git
a/plugins/utils/muxer/muxer.c
b/plugins/utils/muxer/muxer.c
index 032fef41be05dac7bbe47874a839007fc28894e4..700789520fee6d2ea2df02a5da90a708a3106aa9 100644
(file)
--- a/
plugins/utils/muxer/muxer.c
+++ b/
plugins/utils/muxer/muxer.c
@@
-610,7
+610,6
@@
int get_msg_ts_ns(struct muxer_comp *muxer_comp,
{
const bt_clock_class *clock_class = NULL;
const bt_clock_snapshot *clock_snapshot = NULL;
{
const bt_clock_class *clock_class = NULL;
const bt_clock_snapshot *clock_snapshot = NULL;
- const bt_event *event = NULL;
int ret = 0;
const unsigned char *cc_uuid;
const char *cc_name;
int ret = 0;
const unsigned char *cc_uuid;
const char *cc_name;
@@
-626,10
+625,8
@@
int get_msg_ts_ns(struct muxer_comp *muxer_comp,
switch (bt_message_get_type(msg)) {
case BT_MESSAGE_TYPE_EVENT:
switch (bt_message_get_type(msg)) {
case BT_MESSAGE_TYPE_EVENT:
- event = bt_message_event_borrow_event_const(msg);
- BT_ASSERT(event);
- cs_state = bt_event_borrow_default_clock_snapshot_const(event,
- &clock_snapshot);
+ cs_state = bt_message_event_borrow_default_clock_snapshot_const(
+ msg, &clock_snapshot);
break;
case BT_MESSAGE_TYPE_INACTIVITY:
break;
case BT_MESSAGE_TYPE_INACTIVITY:
This page took
0.024836 seconds
and
4
git commands to generate.