xiaoxiang781216 commented on code in PR #8452:
URL: https://github.com/apache/nuttx/pull/8452#discussion_r1098644521


##########
include/nuttx/sched_note.h:
##########
@@ -125,6 +125,10 @@
           sched_note_printf(SCHED_NOTE_IP, fmt, ##__VA_ARGS__)
 #  define SCHED_NOTE_BPRINTF(event, fmt, ...) \
           sched_note_bprintf(SCHED_NOTE_IP, event, fmt, ##__VA_ARGS__)
+#  define SCHED_NOTE_CUSTOM_BEGIN(str) \
+          sched_note_printf(SCHED_NOTE_IP, "B|%d|%s", gettid(), str)
+#  define SCHED_NOTE_CUSTOM_END(str) \

Review Comment:
   ```suggestion
   #  define SCHED_NOTE_ENDEX(id) \
   ```



##########
include/nuttx/sched_note.h:
##########
@@ -125,6 +125,10 @@
           sched_note_printf(SCHED_NOTE_IP, fmt, ##__VA_ARGS__)
 #  define SCHED_NOTE_BPRINTF(event, fmt, ...) \
           sched_note_bprintf(SCHED_NOTE_IP, event, fmt, ##__VA_ARGS__)
+#  define SCHED_NOTE_CUSTOM_BEGIN(str) \

Review Comment:
   ```suggestion
   #  define SCHED_NOTE_BEGINEX(id) \
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to