X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2FtextDump.c;h=24b266a285212c2366df8e8ddef7e2ee9ae8d93c;hb=90ffd2adca8a23a36f3a9b7279f40797907723de;hp=3333823d9095778bf315a75f1e2cc044b4ebe50b;hpb=a5dcde2f975b43a9c6069c4a346528588bf1f8c8;p=lttv.git diff --git a/ltt/branches/poly/lttv/textDump.c b/ltt/branches/poly/lttv/textDump.c index 3333823d..24b266a2 100644 --- a/ltt/branches/poly/lttv/textDump.c +++ b/ltt/branches/poly/lttv/textDump.c @@ -302,7 +302,7 @@ static int write_event_content(void *hook_data, void *call_data) g_string_append_printf(a_string,"\n"); if(a_state) { - g_string_append_printf(a_string, " %s", + g_string_append_printf(a_string, " %s ", g_quark_to_string(tfs->process->state->s)); } @@ -342,13 +342,13 @@ G_MODULE_EXPORT void init(LttvModule *self, int argc, char **argv) LTTV_OPT_NONE, &a_state, NULL, NULL); a_cpu_stats = FALSE; - lttv_option_add("cpu_stats", 's', + lttv_option_add("cpu_stats", 'c', "write the per cpu statistics", "", LTTV_OPT_NONE, &a_cpu_stats, NULL, NULL); a_process_stats = FALSE; - lttv_option_add("process_stats", 's', + lttv_option_add("process_stats", 'p', "write the per process statistics", "", LTTV_OPT_NONE, &a_process_stats, NULL, NULL);