You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/12/14 09:57:59 UTC

[GitHub] [incubator-nuttx] OctopusHu0105 commented on a change in pull request #4999: sched_note: change uint32_t nbi_module into uint8_t array

OctopusHu0105 commented on a change in pull request #4999:
URL: https://github.com/apache/incubator-nuttx/pull/4999#discussion_r768492111



##########
File path: include/nuttx/sched_note.h
##########
@@ -99,6 +99,15 @@
   memset((s), 0, sizeof(struct note_filter_irq_s))
 #endif
 
+/* Note dump module tag definitions */
+
+#ifdef CONFIG_SCHED_INSTRUMENTATION_DUMP
+#define NOTE_MODULE(a, b, c, d) \

Review comment:
       @pkarashchenko 
   #define TEST_MODULE NOTE_MODULE('t', 'e', 's', 't')
   sched_note_dump(TEST_MODULE, event, data, len);
   
   #define AUDIO_MODULE NOTE_MODULE('a', 'u', 'd', 'i')
   sched_note_dump(AUDIO_MODULE, event, data, len);
   or
   sched_note_dump(NOTE_MODULE('a', 'u', 'd', 'i'), event, data, len);




-- 
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-unsubscribe@nuttx.apache.org

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