anchao commented on a change in pull request #1114:
URL: 
https://github.com/apache/incubator-nuttx-apps/pull/1114#discussion_r840630135



##########
File path: system/trace/trace.c
##########
@@ -142,10 +142,22 @@ static int trace_cmd_start(int index, int argc, FAR char 
**argv,
 static int trace_cmd_dump(int index, int argc, FAR char **argv,
                           int notectlfd)
 {
+  trace_dump_t type = TRACE_TYPE_LTTNG_KERNEL;
   FAR FILE *out = stdout;
-  int ret;
   bool changed = false;
   bool cont = false;
+  int ret;
+
+  /* Usage: trace dump [-t] <dumptype> */

Review comment:
       Done

##########
File path: system/trace/trace.c
##########
@@ -142,10 +142,22 @@ static int trace_cmd_start(int index, int argc, FAR char 
**argv,
 static int trace_cmd_dump(int index, int argc, FAR char **argv,
                           int notectlfd)
 {
+  trace_dump_t type = TRACE_TYPE_LTTNG_KERNEL;
   FAR FILE *out = stdout;
-  int ret;
   bool changed = false;
   bool cont = false;
+  int ret;
+
+  /* Usage: trace dump [-t] <dumptype> */

Review comment:
       Done




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to