itrace
Instrumented Trace
itrace_event_t Struct Reference

#include <itrace_types.h>

Public Attributes

uint32_t event_id
 
itrace_processing_mode_t processing_mode
 
uint64_t(* client_method )(void *client_handle)
 
void * client_handle
 
itrace_registration_status_t status
 
uint32_t is_disabled
 

Detailed Description

Profiling event

Event definitions are domain-specific.

For the DSP, the event_id may be the id of a predefined event type defined in DSP PMU event definitions, Non-PMU DSP event definitions, and CPU event definitions. Alternatively, it may be a PMU opcode.

On any domain, the user may also define a custom event by setting the event_id to ITRACE_DSP_EVENT_CUSTOM. When this is the case, the client needs to provide the implementation (client_method) and its corresponding context handle (client_handle).

In an itrace output, event names are displayed in the following format: [id]:[name]:[processing_mode]. Each of these fields may be ommitted if unknown or irrelevant. Valid processing mode values are 's', 'e', 'd', and 'd/t'. See itrace_processing_mode_t for more details.

Member Data Documentation

◆ client_handle

void* itrace_event_t::client_handle

Client-provided event handle

◆ client_method

uint64_t(* itrace_event_t::client_method) (void *client_handle)

Client-provided event counting method

◆ event_id

uint32_t itrace_event_t::event_id

Event id supported by the profiling library

◆ is_disabled

uint32_t itrace_event_t::is_disabled

Enablement status.

◆ processing_mode

itrace_processing_mode_t itrace_event_t::processing_mode

Event post-processing mode

◆ status

itrace_registration_status_t itrace_event_t::status

Registration status


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