From 78d155512ce761c6b5d261d7ed98436c3493b53f Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Thu, 6 Apr 2017 16:48:21 -0400 Subject: [PATCH] text.pretty: remove unused debug info options MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- plugins/text/pretty/pretty.c | 26 -------------------------- plugins/text/pretty/pretty.h | 3 --- 2 files changed, 29 deletions(-) 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; }; -- 2.34.1