summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/record02 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* record: Add rtems_record_dump()Sebastian Huber2020-03-181-12/+26
| | | | | | | | | Add rtems_record_dump_base64() and rtems_record_dump_base64_zlib(). Add CONFIGURE_RECORD_FATAL_DUMP_BASE64 and CONFIGURE_RECORD_FATAL_DUMP_BASE64_ZLIB configuration options. Update #3904.
* libtest: Change expected pass state stringSebastian Huber2019-12-051-1/+1
| | | | Use separator character '_' for all test states.
* Revert "record: Add wrappers for malloc() functions"Sebastian Huber2019-10-022-484/+230
| | | | | | It was accidentally committed. This reverts commit a314544a278f1533ae001f742d7fe24fcee253e6.
* record: Add wrappers for malloc() functionsSebastian Huber2019-10-012-230/+484
| | | | | | | | | | Introduce new library librtemsrecordwrap.a which contains wrappers for operating system functions which produce entry/exit events. The wrappers can be selected during link time via the GNU ld --wrap option. Update #3665.
* record: Add system eventsSebastian Huber2019-08-301-0/+22
| | | | | | Add system events for memory allocation/free. Update #3665.
* record: Add system eventsSebastian Huber2019-08-301-2/+3
| | | | | | | Add system events to identify the target system. Add system events to transfer blocks of memory and register sets. Update #3665.
* record: Add more system eventsSebastian Huber2019-08-292-75/+262
| | | | | | | | | | Reduce the system dependencies to allow tracing of very low level functions, for example the interrupt disable/enable. Introduce general purpose RTEMS_RECORD_CALLER and RTEMS_RECORD_LINE events. Update #3665.
* record: Pass bintime to client handlersSebastian Huber2019-08-171-3/+11
| | | | This is a minor optimization.
* record: Improve overflow handlingSebastian Huber2019-08-172-72/+75
| | | | | | | | In case of a ring buffer overflow, the rtems_record_drain() will push the complete ring buffer content to the client. While the items are processed by the client, new items may overwrite some items being processed. The overwritten items can be detected in the following iteration once the next tail/head information is pushed to the client.
* record: Add enum value for each eventSebastian Huber2019-01-301-9/+6
| | | | Update #3665.
* Add low level event recording supportSebastian Huber2019-01-293-0/+226
Add low level event recording infrastructure for system and user defined events. The infrastructure is able to record high frequency events such as * SMP lock acquire/release, * interrupt entry/exit, * thread switches, * UMA zone allocate/free, and * Ethernet packet input/output, etc. It allows post-mortem analysis in fatal error handlers, e.g. the last events are in the record buffer, the newest event overwrites the oldest event. It is possible to detect record buffer overflows for consumers that expect a continuous stream of events, e.g. to display the system state in real-time. The implementation supports high-end SMP machines (more than 1GHz processor frequency, more than four processors). Add a new API instead. The implementation uses per-processor data structures and no atomic read-modify-write operations. It is uses per-processor ring buffers to record the events. The CPU counter is used to get the time of events. It is combined with periodic uptime events to synchronize it with CLOCK_REALTIME. The existing capture engine tries to solve this problem also, but its performance is not good enough for high-end production systems. The main issues are the variable-size buffers and the use of SMP locks for synchronization. To fix this, the API would change significantly. Update #3665.