Gary-Hobson commented on code in PR #10840:
URL: https://github.com/apache/nuttx/pull/10840#discussion_r1352624225


##########
drivers/note/noteram_driver.c:
##########
@@ -972,7 +972,44 @@ static int noteram_dump_one(FAR uint8_t *p, FAR struct 
lib_outstream_s *s,
           }
       }
       break;
-
+    case NOTE_DUMP_BEGIN:
+    case NOTE_DUMP_END:
+      {
+        FAR struct note_binary_s *nbi = (FAR struct note_binary_s *)p;
+        ret += noteram_dump_header(s, &nbi->nbi_cmn, ctx);
+        char c = note->nc_type == NOTE_DUMP_BEGIN ? 'B' : 'E';
+        int len = note->nc_length - sizeof(struct note_binary_s);
+        if (len > 0)
+          {
+            ret += lib_sprintf(s, "tracing_mark_write: %c|%d|%.*s\n",
+                               c, pid, len, (FAR char *)nbi->nbi_data);

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