YuuichiNakamura commented on pull request #1377:
URL: https://github.com/apache/incubator-nuttx/pull/1377#issuecomment-702589323


   > @YuuichiNakamura, @xiaoxiang781216 this is looking really nice. Is there 
any documentation with the setup instructions that I can begin testing with?
   
   @davids5 Sorry. https://github.com/YuuichiNakamura/nuttx-task-tracer-doc is 
the document but it is already outdated and I have to update it. As I answered 
to @v01d , I'll maintain the documents for the new document system after the 
branch is merged.
   
   To try it instantly, use 
https://github.com/YuuichiNakamura/incubator-nuttx-apps.git feature/task-tracer 
branch as the app code,
   and enable the following configs.
   ```
   CONFIG_DRIVER_NOTE=y
   CONFIG_DRIVER_NOTECTL=y
   CONFIG_SCHED_INSTRUMENTATION=y
   CONFIG_SCHED_INSTRUMENTATION_FILTER=y
   CONFIG_SCHED_INSTRUMENTATION_IRQHANDLER=y
   CONFIG_SCHED_INSTRUMENTATION_SYSCALL=y
   ```
   Then `trace` command is added to nsh. After that,
   ```
   trace mode +s
   trace cmd "sleep 1"
   trace dump
   ```
   This can get the trace while executing "sleep 1". The log output can be used 
as the input for tracecompass.
   


----------------------------------------------------------------
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.

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


Reply via email to