|
RTEMS CPU Kit with SuperCore
4.11.2
|
#include <ctype.h>#include <stdlib.h>#include <stdio.h>#include <string.h>#include <inttypes.h>#include <rtems.h>#include <rtems/monitor.h>#include <rtems/captureimpl.h>
Data Structures | |
| struct | ctrace_per_cpu_t |
Functions | |
| void | rtems_capture_print_timestamp (uint64_t uptime) |
| Capture print timestamp. More... | |
| void | rtems_capture_print_record_task (uint32_t cpu, rtems_capture_record_t *rec) |
| Capture print record task. More... | |
| void | rtems_capture_print_record_capture (uint32_t cpu, rtems_capture_record_t *rec, uint64_t diff) |
| Capture print capture record. More... | |
| void | rtems_capture_print_trace_records (int total, bool csv) |
| Capture print trace records. More... | |
| void | rtems_capture_print_watch_list () |
| Capture print watch list. More... | |
| void rtems_capture_print_record_capture | ( | uint32_t | cpu, |
| rtems_capture_record_t * | rec, | ||
| uint64_t | diff | ||
| ) |
Capture print capture record.
This function prints a user extension capture record.
| [in] | cpu | specifies the cpu the cpu the record was logged on. |
| [in] | rec | specifies the record. |
| [in] | diff | specifies the time between this and the last capture record. |
| void rtems_capture_print_record_task | ( | uint32_t | cpu, |
| rtems_capture_record_t * | rec | ||
| ) |
Capture print record task.
This function prints a capture record task. This record contains information to identify a task. It is refrenced in other records by the task id.
| [in] | cpu | specifies the cpu the cpu the record was logged on. |
| [in] | rec | specifies the task record. |
References rtems_capture_print_timestamp().
Referenced by rtems_capture_print_timestamp().
| void rtems_capture_print_timestamp | ( | uint64_t | uptime | ) |
Capture print timestamp.
This function prints uptime in a timestamp format.
| [in] | uptime | specifies the timestamp to print |
References rtems_capture_print_record_task().
Referenced by rtems_capture_print_record_task().
| void rtems_capture_print_trace_records | ( | int | total, |
| bool | csv | ||
| ) |
Capture print trace records.
This function reads, prints and releases up to total trace records in either a csv format or an ascii table format.
| [in] | total | specifies the number of records to print |
| [in] | csv | specifies a comma seperated value format |
References read(), rtems_capture_read(), rtems_get_processor_count(), rtems_status_text(), and RTEMS_SUCCESSFUL.
| void rtems_capture_print_watch_list | ( | void | ) |
Capture print watch list.
This function prints a capture watch list
References rtems_capture_get_control_list(), rtems_capture_watch_get_ceiling(), rtems_capture_watch_get_floor(), and rtems_capture_watch_global_on().
1.8.13