Not supported in babeltrace 2 anymore.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
fprintf(fp, " (default: `/usr/lib/debug`)\n");
fprintf(fp, " -f, --fields=NAME[,NAME]... Print additional fields:\n");
fprintf(fp, " all, trace, trace:hostname, trace:domain,\n");
- fprintf(fp, " trace:procname, trace:vpid, loglevel, emf,\n");
- fprintf(fp, " callsite\n");
+ fprintf(fp, " trace:procname, trace:vpid, loglevel, emf\n");
fprintf(fp, " (default: trace:hostname, trace:procname,\n");
fprintf(fp, " trace:vpid)\n");
fprintf(fp, " -n, --names=NAME[,NAME]... Print field names:\n");
bt_put(uri_str);
}
}
- if (text->options.print_callsite_field) {
- if (!text->start_line) {
- fputs(", ", text->out);
- }
- text->start_line = false;
- if (print_names) {
- fputs("callsite = ", text->out);
- }
- /* TODO */
- }
if (!text->start_line) {
fputs(", ", text->out);
}
"field-trace:vpid",
"field-loglevel",
"field-emf",
- "field-callsite",
};
static
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;
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;
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;
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;
bool print_delta_field;
bool print_loglevel_field;
bool print_emf_field;
- bool print_callsite_field;
bool print_trace_field;
bool print_trace_domain_field;
bool print_trace_procname_field;