Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS | Sebastian Huber | 2019-12-19 | 1 | -1/+1 |
| | | | | | | | Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753. | ||||
* | libtest: Change expected pass state string | Sebastian Huber | 2019-12-05 | 1 | -1/+1 |
| | | | | Use separator character '_' for all test states. | ||||
* | libtests/record01: Fix test failure | Sebastian Huber | 2019-10-01 | 1 | -2/+45 |
| | | | | Update #3665. | ||||
* | record: Add variants for critical sections | Sebastian Huber | 2019-08-28 | 1 | -2/+5 |
| | | | | Update #3665. | ||||
* | record: Introduce <rtems/recordserver.h> | Sebastian Huber | 2019-08-28 | 1 | -0/+1 |
| | | | | | | | This helps to get rid of the <rtems/rtems/tasks.h> dependency in <rtems/record.h>. Update #3665. | ||||
* | record: Use BSS section instead of per-CPU data | Sebastian Huber | 2019-08-28 | 1 | -1/+3 |
| | | | | | | | | | | | The .rtemsrwset section is used for the per-CPU data. This section has loadable content. Place the ring buffers in the BSS section to avoid large executable image sizes. Not using the per-CPU data makes it possible to initialize the record support earlier. Update #3665. | ||||
* | record: Change thread name encoding | Sebastian Huber | 2019-08-06 | 1 | -4/+4 |
| | | | | This scheme is easier to decode. | ||||
* | record: Add support for thread names | Sebastian Huber | 2019-07-30 | 1 | -0/+32 |
| | |||||
* | record: Rename internal per-CPU events | Sebastian Huber | 2019-03-12 | 1 | -11/+11 |
| | | | | Update #3665. | ||||
* | record: Add enum value for each event | Sebastian Huber | 2019-01-30 | 1 | -1/+1 |
| | | | | Update #3665. | ||||
* | Add low level event recording support | Sebastian Huber | 2019-01-29 | 3 | -0/+736 |
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. |