projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove callsite text output code
[babeltrace.git]
/
plugins
/
text
/
text.c
diff --git
a/plugins/text/text.c
b/plugins/text/text.c
index f9134b778fedea0d9d32b75aa0de68159dc6c62f..720c431f3de893c397befec3198f132f02017a35 100644
(file)
--- a/
plugins/text/text.c
+++ b/
plugins/text/text.c
@@
-65,7
+65,6
@@
const char *plugin_options[] = {
"field-trace:vpid",
"field-loglevel",
"field-emf",
"field-trace:vpid",
"field-loglevel",
"field-emf",
- "field-callsite",
};
static
};
static
@@
-485,7
+484,6
@@
enum bt_component_status apply_params(struct text_component *text,
text->options.print_loglevel_field = false;
text->options.print_emf_field = false;
text->options.print_emf_field = false;
text->options.print_loglevel_field = false;
text->options.print_emf_field = false;
text->options.print_emf_field = false;
- text->options.print_callsite_field = false;
break;
case TEXT_DEFAULT_SHOW:
text->options.print_trace_field = true;
break;
case TEXT_DEFAULT_SHOW:
text->options.print_trace_field = true;
@@
-496,7
+494,6
@@
enum bt_component_status apply_params(struct text_component *text,
text->options.print_loglevel_field = true;
text->options.print_emf_field = true;
text->options.print_emf_field = true;
text->options.print_loglevel_field = true;
text->options.print_emf_field = true;
text->options.print_emf_field = true;
- text->options.print_callsite_field = true;
break;
case TEXT_DEFAULT_HIDE:
text->options.print_trace_field = false;
break;
case TEXT_DEFAULT_HIDE:
text->options.print_trace_field = false;
@@
-507,7
+504,6
@@
enum bt_component_status apply_params(struct text_component *text,
text->options.print_loglevel_field = false;
text->options.print_emf_field = false;
text->options.print_emf_field = false;
text->options.print_loglevel_field = false;
text->options.print_emf_field = false;
text->options.print_emf_field = false;
- text->options.print_callsite_field = false;
break;
default:
ret = BT_COMPONENT_STATUS_ERROR;
break;
default:
ret = BT_COMPONENT_STATUS_ERROR;
@@
-594,15
+590,6
@@
enum bt_component_status apply_params(struct text_component *text,
text->options.print_emf_field = value;
}
text->options.print_emf_field = value;
}
- value = false;
- found = false;
- ret = apply_one_bool("field-callsite", params, &value, &found);
- if (ret != BT_COMPONENT_STATUS_OK) {
- goto end;
- }
- if (found) {
- text->options.print_callsite_field = value;
- }
end:
bt_put(text->plugin_opt_map);
text->plugin_opt_map = NULL;
end:
bt_put(text->plugin_opt_map);
text->plugin_opt_map = NULL;
This page took
0.033466 seconds
and
4
git commands to generate.