latest/source/lib/omnitrace-user/omnitrace/types.h Source File#
types.h
Go to the documentation of this file.
85 OMNITRACE_USER_UNION_CONFIG = 0, ///< Replace the callbacks in the current config with the non-null callbacks in the provided config
86 OMNITRACE_USER_REPLACE_CONFIG, ///< Replace the entire config even if the provided config has null callbacks
87 OMNITRACE_USER_INTERSECT_CONFIG, ///< Produce a config which is the intersection of the current config and the provided config
A struct containing annotation data to be included in the perfetto trace.
Definition: categories.h:178
enum OMNITRACE_USER_ERROR omnitrace_user_error_t
@ OMNITRACE_USER_REPLACE_CONFIG
Replace the entire config even if the provided config has null callbacks.
Definition: types.h:86
@ OMNITRACE_USER_UNION_CONFIG
Replace the callbacks in the current config with the non-null callbacks in the provided config.
Definition: types.h:85
@ OMNITRACE_USER_INTERSECT_CONFIG
Produce a config which is the intersection of the current config and the provided config.
Definition: types.h:87
struct omnitrace_user_callbacks omnitrace_user_callbacks_t
omnitrace_annotated_region_func_t pop_annotated_region
callback for ending a trace region + annotations
Definition: types.h:54
omnitrace_trace_func_t start_thread_trace
callback for enabling tracing on current thread
Definition: types.h:48
omnitrace_trace_func_t stop_thread_trace
callback for disabling tracing on current thread
Definition: types.h:49
omnitrace_annotated_region_func_t annotated_progress
callback for marking an causal profiling event + annotations
Definition: types.h:55
enum OMNITRACE_USER_CONFIGURE_MODE omnitrace_user_configure_mode_t
int(* omnitrace_annotated_region_func_t)(const char *, omnitrace_annotation *, unsigned long)
Definition: types.h:37
omnitrace_region_func_t progress
callback for marking an causal profiling event
Definition: types.h:52
omnitrace_annotated_region_func_t push_annotated_region
callback for starting a trace region + annotations
Definition: types.h:53