diff --git a/system/trace/trace.c b/system/trace/trace.c index c5c7f0fc0..bb382fede 100644 --- a/system/trace/trace.c +++ b/system/trace/trace.c @@ -787,38 +787,40 @@ static void show_usage(void) fprintf(stderr, "\nUsage: trace ...\n" "Subcommand:\n" - " start [-c][] :" + " start [-c][] :" " Start task tracing\n" - " stop :" + " stop :" " Stop task tracing\n" #ifdef CONFIG_SYSTEM_SYSTEM - " cmd [-c] [...] :" + " cmd [-c] [...] :" " Get the trace while running \n" #endif #ifdef CONFIG_DRIVER_NOTERAM - " dump [-a][-c][] :" + " dump [-a][-c][] :" " Output the trace result\n" - " [-a] \n" + " [-a] \n" #endif - " mode [{+|-}{o|w|s|a|i|d}...] :" + " mode [{+|-}{o|w|s|a|i|d}...] :" " Set task trace options\n" #ifdef CONFIG_SCHED_INSTRUMENTATION_SWITCH - " switch [+|-] :" + " switch [+|-] :" " Configure switch trace filter\n" #endif #ifdef CONFIG_SCHED_INSTRUMENTATION_SYSCALL - " syscall [{+|-}...] :" + " syscall [{+|-}...] :" " Configure syscall trace filter\n" #endif #ifdef CONFIG_SCHED_INSTRUMENTATION_IRQHANDLER - " irq [{+|-}...] :" + " irq [{+|-}...] :" " Configure IRQ trace filter\n" #endif #ifdef CONFIG_SCHED_INSTRUMENTATION_DUMP - " print [+|-] :" + " print [+|-] :" " Configure dump trace filter\n" #endif ); + + fflush(stderr); } /****************************************************************************