mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
driver/note: Fix compilation error when CONFIG_SYSLOG_TO_SCHED_NOTE=y
Add compilation condition for 'nx_vsyslog' syscall. Export 'sched_note_printf_ip' syscall when CONFIG_SYSLOG_TO_SCHED_NOTE=y Put the implementation of sched_note_printf_ip in libc/misc/lib_note.c Signed-off-by: yukangzhi <yukangzhi@xiaomi.com>
This commit is contained in:
parent
5f92db54a6
commit
1b22f8c65b
7 changed files with 84 additions and 30 deletions
|
|
@ -84,7 +84,7 @@
|
|||
"nx_mkfifo","nuttx/fs/fs.h","defined(CONFIG_PIPES) && CONFIG_DEV_FIFO_SIZE > 0","int","FAR const char *","mode_t","size_t"
|
||||
"nx_pthread_create","nuttx/pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_trampoline_t","FAR pthread_t *","FAR const pthread_attr_t *","pthread_startroutine_t","pthread_addr_t"
|
||||
"nx_pthread_exit","nuttx/pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","noreturn","pthread_addr_t"
|
||||
"nx_vsyslog","nuttx/syslog/syslog.h","","int","int","FAR const IPTR char *","FAR va_list *"
|
||||
"nx_vsyslog","nuttx/syslog/syslog.h","!defined(CONFIG_SYSLOG_TO_SCHED_NOTE)","int","int","FAR const IPTR char *","FAR va_list *"
|
||||
"nxsched_get_stackinfo","nuttx/sched.h","","int","pid_t","FAR struct stackinfo_s *"
|
||||
"nxsem_tickwait","nuttx/semaphore.h","","int","FAR sem_t *","uint32_t"
|
||||
"nxsem_clockwait","nuttx/semaphore.h","","int","FAR sem_t *","clockid_t","FAR const struct timespec *"
|
||||
|
|
@ -140,6 +140,7 @@
|
|||
"sched_getscheduler","sched.h","","int","pid_t"
|
||||
"sched_lock","sched.h","","void"
|
||||
"sched_lockcount","sched.h","","int"
|
||||
"sched_note_vprintf_ip","nuttx/sched_note.h","defined(CONFIG_SCHED_INSTRUMENTATION_DUMP)","void","uint32_t","uintptr_t","FAR const IPTR char *","uint32_t","FAR va_list *"
|
||||
"sched_rr_get_interval","sched.h","","int","pid_t","struct timespec *"
|
||||
"sched_setaffinity","sched.h","defined(CONFIG_SMP)","int","pid_t","size_t","FAR const cpu_set_t*"
|
||||
"sched_setparam","sched.h","","int","pid_t","const struct sched_param *"
|
||||
|
|
|
|||
|
Can't render this file because it has a wrong number of fields in line 2.
|
Loading…
Add table
Add a link
Reference in a new issue