const char *plugin_options[] = {
"color",
"output-path",
- "debug-info-dir",
- "debug-info-target-prefix",
- "debug-info-full-path",
"no-delta",
"clock-cycles",
"clock-seconds",
}
}
g_free(pretty->options.output_path);
- g_free(pretty->options.debug_info_dir);
- g_free(pretty->options.debug_info_target_prefix);
g_free(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) {
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;
bool clock_seconds;
bool clock_date;
bool clock_gmt;
- bool debug_info_full_path;
enum pretty_color_option color;
bool verbose;
};