Rename bt_ctf_clock_class_get_is_absolute() -> bt_ctf_clock_class_is_absolute()
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 26 Apr 2017 19:15:17 +0000 (15:15 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:41 +0000 (12:57 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
bindings/python/bt2/native_btclockclass.i
include/babeltrace/ctf-ir/clock-class.h
lib/ctf-ir/clock-class.c
lib/ctf-writer/clock.c
plugins/libctfcopytrace/ctfcopytrace.c
plugins/utils/muxer/muxer.c

index c013b8b3b990ad693fc1a814099f3a335ec7a780..e79a7b4d267bbfa99828ba39e3bf9a700be8e447 100644 (file)
@@ -51,7 +51,7 @@ int bt_ctf_clock_class_get_offset_cycles(struct bt_ctf_clock_class *clock_class,
                int64_t *OUTPUT);
 int bt_ctf_clock_class_set_offset_cycles(struct bt_ctf_clock_class *clock_class,
                int64_t offset);
-int bt_ctf_clock_class_get_is_absolute(struct bt_ctf_clock_class *clock_class);
+int bt_ctf_clock_class_is_absolute(struct bt_ctf_clock_class *clock_class);
 int bt_ctf_clock_class_set_is_absolute(struct bt_ctf_clock_class *clock_class,
                int is_absolute);
 BTUUID bt_ctf_clock_class_get_uuid(struct bt_ctf_clock_class *clock_class);
index d9c704d28e7700cee2fcbb0af543a3cd2df7fea4..223d59f683d9876e44ffbb6a943a012df6f508ce 100644 (file)
@@ -66,7 +66,7 @@ extern int bt_ctf_clock_class_get_offset_cycles(
                struct bt_ctf_clock_class *clock_class, int64_t *cycles);
 extern int bt_ctf_clock_class_set_offset_cycles(
                struct bt_ctf_clock_class *clock_class, int64_t cycles);
-extern int bt_ctf_clock_class_get_is_absolute(
+extern int bt_ctf_clock_class_is_absolute(
                struct bt_ctf_clock_class *clock_class);
 extern int bt_ctf_clock_class_set_is_absolute(
                struct bt_ctf_clock_class *clock_class, int is_absolute);
index 37635ca9763f309ee9d4fca342f73ad01fd41cfe..9760d731286046ee1677304ad32dbf69dc02e401 100644 (file)
@@ -269,7 +269,7 @@ end:
        return ret;
 }
 
-int bt_ctf_clock_class_get_is_absolute(struct bt_ctf_clock_class *clock_class)
+int bt_ctf_clock_class_is_absolute(struct bt_ctf_clock_class *clock_class)
 {
        int ret = -1;
 
index dd070ec95369e833070acecad4e6a88f7a4a45fe..e0d52231bfc07e18ef7baf937b116f9e4f3da842 100644 (file)
@@ -201,7 +201,7 @@ int bt_ctf_clock_get_is_absolute(struct bt_ctf_clock *clock)
        int is_absolute = -1;
 
        if (clock) {
-               is_absolute = bt_ctf_clock_class_get_is_absolute(
+               is_absolute = bt_ctf_clock_class_is_absolute(
                        clock->clock_class);
        }
 
index ee983651fb0b7c7f3ab26bef5acc21475f0cc87a..898e6c4ef2828d4f863fbff728dda9d82128b319 100644 (file)
@@ -134,7 +134,7 @@ struct bt_ctf_clock_class *ctf_copy_clock_class(FILE *err,
                goto end_destroy;
        }
 
-       int_ret = bt_ctf_clock_class_get_is_absolute(clock_class);
+       int_ret = bt_ctf_clock_class_is_absolute(clock_class);
        if (int_ret == -1) {
                fprintf(err, "[error] %s in %s:%d\n", __func__, __FILE__,
                                __LINE__);
index 033a0abb574cb424ce55cbbd9f05f596168c69e4..d78884d4fcf42b8665c550245829fdf1f89d2ea4 100644 (file)
@@ -548,7 +548,7 @@ int get_notif_ts_ns(struct muxer_comp *muxer_comp,
                goto error;
        }
 
-       if (!bt_ctf_clock_class_get_is_absolute(clock_class)) {
+       if (!bt_ctf_clock_class_is_absolute(clock_class)) {
                // TODO: Allow this with an explicit parameter
                goto error;
        }
This page took 0.027646 seconds and 4 git commands to generate.