RE: problem with nxsig_timeout (sig_timedwait.c)

2020-04-05 Thread Nakamura, Yuuichi (Sony)
Hi all, I have found a same problem which Sebastian pointed out in another processor. Not only Renesus RX, for example, AVR has similar ABI spec. To fix the problem, I have investigated the callers of wd_start(). Please let me discuss about the problem in github issue #740. Thanks, Yuuichi Nakam

enter/leave_critical_section() calls in the user space library

2020-05-10 Thread Nakamura, Yuuichi (Sony)
Hi all, I found a few enter/leave_critical_section() calls in libs/ directory. It is ok for flat build, but unavailable in the user library for protected/kernel build. Is it correct ? For example, libs/libc/syslog/lib_setlogmask.c calls them. In fact, using setlogmask() in protected build raises

RE: enter/leave_critical_section() calls in the user space library

2020-05-10 Thread Nakamura, Yuuichi (Sony)
nal Message- > From: Nakamura, Yuuichi (Sony) > Sent: Monday, May 11, 2020 10:39 AM > To: dev@nuttx.apache.org > Cc: Nakamura, Yuuichi (Sony) > Subject: enter/leave_critical_section() calls in the user space library > > Hi all, > > I found a few enter/leave_critical_sect

RE: enter/leave_critical_section() calls in the user space library

2020-05-11 Thread Nakamura, Yuuichi (Sony)
Thanks for accepting my PR. Now it's ok for protected build with uniprocessor case, but not sufficient in SMP case. The following files included in the user mode library contain enter/leave_critical_section() only when CONFIG_SMP=y. libs/libc/misc/lib_filesem.c mm/mm_heap/mm_sem.c These may hav

RE: NXView

2020-06-16 Thread Nakamura, Yuuichi (Sony)
Hi, Greg. I am developing the feature to collect the NuttX internal task events and dump the data in Linux ftrace format. The dumped data can be displayed graphically by using "TraceCompass". It extends the NuttX sched note APIs to get enter/leave event of the interrupt handler and system calls.

RE: NXView

2020-06-16 Thread Nakamura, Yuuichi (Sony)
> I did that. I created PR 1256 with the commit in your name Thank you! I want to mainline the feature by issuing the additional PRs for the remaining part. As you pointed out, the codes are based on the existing sched note logic. The reason of preparing another files is the changes for this fe

RE: NXView

2020-06-16 Thread Nakamura, Yuuichi (Sony)
Thanks for valuable comments. I have no objection to your advice that overlapping the similar implementation should be avoided. Let me make change the current implementation into the extension of the existing codes, and if there are any problems in extending, please let me discuss again. Regardi

RE: NXView

2020-07-01 Thread Nakamura, Yuuichi (Sony)
: NXView > > It's a reasonable function partitioning. How about we define an interface like > syslog_channel_s between note and driver? So we can plug in the different > transport like syslog. > > > -Original Message- > > From: Nakamura, Yuuichi (Sony) &

RE: NXView

2020-07-01 Thread Nakamura, Yuuichi (Sony)
Thanks for detailed comment. I'll study streams.h to apply it for the note data interface. > -Original Message- > From: Gregory Nutt > Sent: Thursday, July 2, 2020 11:05 AM > To: dev@nuttx.apache.org > Subject: Re: NXView > > > > It's a reasonable function partitioning. How about we de