From c3acd5f3f82ef06a3d04dc180c901a4597514d13 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Sun, 28 May 2017 13:12:37 -0400 Subject: [PATCH] Rename "ignore-absolute" parameter to "assume-absolute-clock-classes" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- cli/babeltrace-cfg-cli-args.c | 2 +- plugins/utils/muxer/muxer.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cli/babeltrace-cfg-cli-args.c b/cli/babeltrace-cfg-cli-args.c index 195c891c..a1eb78b5 100644 --- a/cli/babeltrace-cfg-cli-args.c +++ b/cli/babeltrace-cfg-cli-args.c @@ -4066,7 +4066,7 @@ struct bt_config *bt_config_convert_from_args(int argc, const char *argv[], break; case OPT_CLOCK_FORCE_CORRELATE: append_implicit_component_param( - &implicit_muxer_args, "ignore-absolute", "yes"); + &implicit_muxer_args, "assume-absolute-clock-classes", "yes"); break; case OPT_CLOCK_GMT: append_implicit_component_param( diff --git a/plugins/utils/muxer/muxer.c b/plugins/utils/muxer/muxer.c index 533ccfaa..a148ca41 100644 --- a/plugins/utils/muxer/muxer.c +++ b/plugins/utils/muxer/muxer.c @@ -43,7 +43,7 @@ #include #include -#define IGNORE_ABSOLUTE_PARAM_NAME "ignore-absolute" +#define ASSUME_ABSOLUTE_CLOCK_CLASSES_PARAM_NAME "assume-absolute-clock-classes" struct muxer_comp { /* Array of struct bt_private_notification_iterator * (weak refs) */ @@ -225,8 +225,8 @@ struct bt_value *get_default_params(void) goto error; } - ret = bt_value_map_insert_bool(params, IGNORE_ABSOLUTE_PARAM_NAME, - false); + ret = bt_value_map_insert_bool(params, + ASSUME_ABSOLUTE_CLOCK_CLASSES_PARAM_NAME, false); if (ret) { goto error; } @@ -260,7 +260,7 @@ int configure_muxer_comp(struct muxer_comp *muxer_comp, struct bt_value *params) } ignore_absolute = bt_value_map_get(real_params, - IGNORE_ABSOLUTE_PARAM_NAME); + ASSUME_ABSOLUTE_CLOCK_CLASSES_PARAM_NAME); if (!bt_value_is_bool(ignore_absolute)) { goto error; } -- 2.34.1