From: Mathieu Desnoyers Date: Wed, 18 Apr 2012 15:37:05 +0000 (-0400) Subject: Fix: Show context field name by default X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=e505794f946c3e5fa8c599e46723820c62e708e4;p=deliverable%2Fbabeltrace.git Fix: Show context field name by default Everyone seems to be baffled by "what is this { 0 }", so change default behavior to show the context field name: will show e.g. { cpu_id = 0 }. Signed-off-by: Mathieu Desnoyers --- diff --git a/converter/babeltrace.c b/converter/babeltrace.c index 904c01508..cb05891d6 100644 --- a/converter/babeltrace.c +++ b/converter/babeltrace.c @@ -217,6 +217,7 @@ static int parse_options(int argc, char **argv) poptReadDefaultConfig(pc, 0); /* set default */ + opt_context_field_names = 1; opt_payload_field_names = 1; while ((opt = poptGetNextOpt(pc)) != -1) {