xiaoxiang781216 commented on pull request #1271:
URL: https://github.com/apache/incubator-nuttx/pull/1271#issuecomment-647001511


   > R> With the hardware solution, the instrumentation data will be encoded 
and sent out via a parallel port immediately when the call-out occurs. There 
will be no buffering in RAM; there will be not application driver. Those will 
all be disabled. The USB parallel solution will be direct instrumentation to 
hardware.
   > 
   > To make that job simpler and fully compatible with the effort you are 
doing, perhaps we need to have standalone logic to encode instrumentation data 
to a stream. Perhaps using struct lib_outstream_s as defined in 
include/nuttx/stream.h. That way, the encoded data can go to either a memory 
stream or to the hardware parallel interface.
   > 
   > Similar rate/content controls will be needed.
   
   Yes, we can extend sched_note.c driver to support the different transport 
just like syslog(ramlog, itm, serial, file...).


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