From: Philippe Proulx Date: Thu, 6 Apr 2017 20:48:21 +0000 (-0400) Subject: text.pretty: remove unused debug info options X-Git-Tag: v2.0.0-pre1~365 X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=78d155512ce761c6b5d261d7ed98436c3493b53f;p=babeltrace.git text.pretty: remove unused debug info options Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- diff --git a/plugins/text/pretty/pretty.c b/plugins/text/pretty/pretty.c index cbc2feba..87efe05a 100644 --- a/plugins/text/pretty/pretty.c +++ b/plugins/text/pretty/pretty.c @@ -53,9 +53,6 @@ static const char *plugin_options[] = { "color", "output-path", - "debug-info-dir", - "debug-info-target-prefix", - "debug-info-full-path", "no-delta", "clock-cycles", "clock-seconds", @@ -92,8 +89,6 @@ void destroy_pretty_data(struct pretty_component *pretty) } } g_free(pretty->options.output_path); - g_free(pretty->options.debug_info_dir); - g_free(pretty->options.debug_info_target_prefix); g_free(pretty); } @@ -414,27 +409,6 @@ enum bt_component_status apply_params(struct pretty_component *pretty, goto end; } - ret = apply_one_string("debug-info-dir", - params, - &pretty->options.debug_info_dir); - if (ret != BT_COMPONENT_STATUS_OK) { - goto end; - } - - ret = apply_one_string("debug-info-target-prefix", - params, - &pretty->options.debug_info_target_prefix); - if (ret != BT_COMPONENT_STATUS_OK) { - goto end; - } - - value = false; /* Default. */ - ret = apply_one_bool("debug-info-full-path", params, &value, NULL); - if (ret != BT_COMPONENT_STATUS_OK) { - goto end; - } - pretty->options.debug_info_full_path = value; - value = false; /* Default. */ ret = apply_one_bool("no-delta", params, &value, NULL); if (ret != BT_COMPONENT_STATUS_OK) { diff --git a/plugins/text/pretty/pretty.h b/plugins/text/pretty/pretty.h index 0c8b27d9..749befc6 100644 --- a/plugins/text/pretty/pretty.h +++ b/plugins/text/pretty/pretty.h @@ -48,8 +48,6 @@ enum pretty_color_option { struct pretty_options { char *output_path; - char *debug_info_dir; - char *debug_info_target_prefix; enum pretty_default name_default; enum pretty_default field_default; @@ -73,7 +71,6 @@ struct pretty_options { bool clock_seconds; bool clock_date; bool clock_gmt; - bool debug_info_full_path; enum pretty_color_option color; bool verbose; };