projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: create a clock class object from component
[babeltrace.git]
/
plugins
/
text
/
dmesg
/
dmesg.c
diff --git
a/plugins/text/dmesg/dmesg.c
b/plugins/text/dmesg/dmesg.c
index 29cef2f59d1e782f0c2565ca76f665e035ace1d8..d8afa858c4af47006a1d8d2a51603c0cb4de0c76 100644
(file)
--- a/
plugins/text/dmesg/dmesg.c
+++ b/
plugins/text/dmesg/dmesg.c
@@
-141,17
+141,18
@@
int create_meta(struct dmesg_component *dmesg_comp, bool has_ts)
if (has_ts) {
dmesg_comp->clock_class = bt_clock_class_create(
if (has_ts) {
dmesg_comp->clock_class = bt_clock_class_create(
- dmesg_comp->trace_class);
+ bt_self_component_source_as_self_component(
+ dmesg_comp->self_comp));
if (!dmesg_comp->clock_class) {
BT_LOGE_STR("Cannot create clock class.");
goto error;
}
/*
if (!dmesg_comp->clock_class) {
BT_LOGE_STR("Cannot create clock class.");
goto error;
}
/*
- * The `dmesg` timestamp
is not absolute, it's relative
- *
to
the boot time.
+ * The `dmesg` timestamp
's origin is not the Unix epoch,
+ *
it's
the boot time.
*/
*/
- bt_clock_class_set_
is_absolute
(dmesg_comp->clock_class,
+ bt_clock_class_set_
origin_is_unix_epoch
(dmesg_comp->clock_class,
BT_FALSE);
ret = bt_stream_class_set_default_clock_class(
BT_FALSE);
ret = bt_stream_class_set_default_clock_class(
This page took
0.025759 seconds
and
4
git commands to generate.