Data Fields | |
uint64_t | file_size |
uint64_t | tsc_rate |
uint64_t | tpoint_mask [SPDK_TRACE_MAX_GROUP_ID] |
char | tname [SPDK_TRACE_MAX_LCORE][SPDK_TRACE_THREAD_NAME_LEN] |
struct spdk_trace_owner_type | owner_type [SPDK_TRACE_MAX_OWNER_TYPE] |
struct spdk_trace_object | object [UCHAR_MAX+1] |
struct spdk_trace_tpoint | tpoint [SPDK_TRACE_MAX_TPOINT_ID] |
uint64_t | lcore_history_offsets [SPDK_TRACE_MAX_LCORE] |
Offset of each trace_history from the beginning of this data structure. | |
uint8_t | per_lcore_history [0] |
struct spdk_trace_history has a dynamic size determined by num_entries in spdk_trace_init. More... | |
uint8_t spdk_trace_file::per_lcore_history[0] |
struct spdk_trace_history has a dynamic size determined by num_entries in spdk_trace_init.
Mark array size of per_lcore_history to be 0 in uint8_t as a reminder that each per_lcore_history pointer should be gotten by proper API, instead of directly referencing by struct element.