projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bt_ctf_event_set_clock_value() does not need a clock class
[babeltrace.git]
/
formats
/
ctf
/
ir
/
event.c
diff --git
a/formats/ctf/ir/event.c
b/formats/ctf/ir/event.c
index 95168a573ebf60dda718acb71b495785b740a28b..c553f7a707eff35e4d4a024a91128a675583215b 100644
(file)
--- a/
formats/ctf/ir/event.c
+++ b/
formats/ctf/ir/event.c
@@
-582,18
+582,17
@@
end:
}
int bt_ctf_event_set_clock_value(struct bt_ctf_event *event,
}
int bt_ctf_event_set_clock_value(struct bt_ctf_event *event,
- struct bt_ctf_clock_class *clock_class,
struct bt_ctf_clock_value *value)
{
int ret = 0;
struct bt_ctf_clock_value *value)
{
int ret = 0;
- if (!event || !
clock_class || !
value || event->frozen) {
+ if (!event || !value || event->frozen) {
ret = -1;
goto end;
}
ret = -1;
goto end;
}
- g_hash_table_insert(event->clock_values,
bt_get(clock_class),
- bt_get(value));
+ g_hash_table_insert(event->clock_values,
+ bt_
ctf_clock_value_get_class(value), bt_
get(value));
end:
return ret;
}
end:
return ret;
}
This page took
0.023391 seconds
and
4
git commands to generate.