HawkTracer  0.8.0
core_events.h File Reference

Go to the source code of this file.

Macros

#define HT_CALLSTACK_BASE_EVENT(event)   ((HT_CallstackBaseEvent*)event)
 

Typedefs

typedef uint64_t HT_CallstackEventLabel
 

Functions

HT_DECLS_BEGIN HT_DECLARE_EVENT_KLASS (HT_EndiannessInfoEvent, HT_Event,(INTEGER, uint8_t, endianness)) HT_DECLARE_EVENT_KLASS(HT_EventKlassInfoEvent
 
HT_DECLS_BEGIN const char field_count HT_DECLARE_EVENT_KLASS (HT_EventKlassFieldInfoEvent, HT_Event,(INTEGER, HT_EventKlassId, info_klass_id),(STRING, const char *, field_type),(STRING, const char *, field_name),(INTEGER, uint64_t, size),(INTEGER, uint8_t, data_type)) HT_DECLARE_EVENT_KLASS(HT_CallstackBaseEvent
 
 HT_DECLARE_EVENT_KLASS (HT_CallstackIntEvent, HT_CallstackBaseEvent,(INTEGER, HT_CallstackEventLabel, label)) HT_DECLARE_EVENT_KLASS(HT_CallstackStringEvent
 
const char label HT_DECLARE_EVENT_KLASS (HT_StringMappingEvent, HT_Event,(INTEGER, uint64_t, identifier),(STRING, const char *, label)) HT_DECLARE_EVENT_KLASS(HT_SystemInfoEvent
 

Variables

HT_DECLS_BEGIN HT_Event
 
HT_DECLS_BEGIN INTEGER
 
HT_DECLS_BEGIN HT_EventKlassId
 
HT_DECLS_BEGIN info_klass_id
 
HT_DECLS_BEGIN STRING
 
HT_DECLS_BEGIN const char event_klass_name
 
HT_DECLS_BEGIN const char uint8_t
 
HT_DECLS_BEGIN const char field_count HT_DurationNs
 
HT_DECLS_BEGIN const char field_count duration
 
HT_DECLS_BEGIN const char field_count HT_ThreadId
 
 HT_CallstackBaseEvent
 
const char label version_major
 
const char label version_minor
 

Macro Definition Documentation

◆ HT_CALLSTACK_BASE_EVENT

#define HT_CALLSTACK_BASE_EVENT (   event)    ((HT_CallstackBaseEvent*)event)

Typedef Documentation

◆ HT_CallstackEventLabel

typedef uint64_t HT_CallstackEventLabel

Function Documentation

◆ HT_DECLARE_EVENT_KLASS() [1/4]

HT_DECLS_BEGIN HT_DECLARE_EVENT_KLASS ( HT_EndiannessInfoEvent  ,
HT_Event  ,
(INTEGER, uint8_t, endianness)   
)

◆ HT_DECLARE_EVENT_KLASS() [2/4]

HT_DECLS_BEGIN const char field_count HT_DECLARE_EVENT_KLASS ( HT_EventKlassFieldInfoEvent  ,
HT_Event  ,
(INTEGER, HT_EventKlassId, info_klass_id ,
(STRING, const char *, field_type)  ,
(STRING, const char *, field_name)  ,
(INTEGER, uint64_t, size)  ,
(INTEGER, uint8_t, data_type)   
)

◆ HT_DECLARE_EVENT_KLASS() [3/4]

HT_DECLARE_EVENT_KLASS ( HT_CallstackIntEvent  ,
HT_CallstackBaseEvent  ,
(INTEGER, HT_CallstackEventLabel, label)   
)

◆ HT_DECLARE_EVENT_KLASS() [4/4]

const char label HT_DECLARE_EVENT_KLASS ( HT_StringMappingEvent  ,
HT_Event  ,
(INTEGER, uint64_t, identifier)  ,
(STRING, const char *, label)   
)

Variable Documentation

◆ duration

HT_DECLS_BEGIN const char field_count duration

◆ event_klass_name

HT_DECLS_BEGIN const char event_klass_name

◆ HT_CallstackBaseEvent

HT_CallstackBaseEvent

◆ HT_DurationNs

HT_DECLS_BEGIN const char field_count HT_DurationNs

◆ HT_Event

const char label HT_Event

◆ HT_EventKlassId

HT_DECLS_BEGIN HT_EventKlassId

◆ HT_ThreadId

HT_DECLS_BEGIN const char field_count HT_ThreadId

◆ info_klass_id

HT_DECLS_BEGIN info_klass_id

◆ INTEGER

const char label INTEGER

◆ STRING

STRING

◆ uint8_t

const char label uint8_t

◆ version_major

const char label version_major

◆ version_minor

const char label version_minor