Replies: 2 comments 2 replies
-
@timcanham : I've attached a revision of Trace requirements. Can you please take a look and provide your feedback? @LeStarch: I'll also put the final revised requirements here and of course it will be part of |
Beta Was this translation helpful? Give feedback.
2 replies
-
Let's separate them in to categories for the framework vs. a particular implementation: Framework
Embedded Implementation (e.g. VxWorks)
Demo Implementation - File Logging
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This concept is for tracing execution (AKA Autopsy for JPL folks). Tracing allows an on-board log to be built of software execution where various points in the software a sample point can be saved with a time tag. The data would be stored on a per-thread basis. The data is stored in buffers, and then save to storage as a Data Product for later downlinking.
The work would consist of:
1) New FPP specification (for example):
This would turn into code-generated functions that the user could call when a trace event happens. The FPP can specify arguments like
cycle
that are custom, and they would be serialized into a trace record that includes the id, a time tag, and the user arguments.Trace points would be automatically generated for the following autocoded actions:
The trace entries could be put in the dictionary so a ground system could automatically decode the trace data.
2) Implement a new trace port type. It could look a lot like an event port:
3) Implement a basic in-memory logger with data products to dump the buffers. Projects could write more sophisticated versions or embedded versions if they like.
Since this feature could consume significant code and processing, it should be a feature that can be turned on and off.
Beta Was this translation helpful? Give feedback.
All reactions