Loading...
Searching...
No Matches
spdk_trace_history Struct Reference
Collaboration diagram for spdk_trace_history:

Data Fields

int lcore
 Logical core number associated with this structure instance.
 
uint64_t num_entries
 Number of trace_entries contained in each trace_history.
 
uint64_t tpoint_count [SPDK_TRACE_MAX_TPOINT_ID]
 Running count of number of occurrences of each tracepoint on this lcore.
 
uint64_t next_entry
 Index to next spdk_trace_entry to fill.
 
struct spdk_trace_entry entries [0]
 Circular buffer of spdk_trace_entry structures for tracing tpoints on this core.
 

Field Documentation

◆ entries

struct spdk_trace_entry spdk_trace_history::entries[0]

Circular buffer of spdk_trace_entry structures for tracing tpoints on this core.

Debug tool spdk_trace reads this buffer from shared memory to post-process the tpoint entries and display in a human-readable format.

◆ tpoint_count

uint64_t spdk_trace_history::tpoint_count[SPDK_TRACE_MAX_TPOINT_ID]

Running count of number of occurrences of each tracepoint on this lcore.

Debug tools can use this to easily count tracepoints such as number of SCSI tasks completed or PDUs read.


The documentation for this struct was generated from the following file: