litl
0.1.1
|
litl_write Provides a set of functions for recording events in a trace file More...
#include "litl_types.h"
Go to the source code of this file.
Macros | |
#define | __LITL_WRITE_ADD_ARG(ptr, param) |
For internal use only. Adds a parameter to a packed event. More... | |
#define | litl_write_probe_pack_0(trace,code) |
Records a packed event without parameters. More... | |
#define | litl_write_probe_pack_1(trace,code,param1) |
Records a packed event with 1 parameter. More... | |
#define | litl_write_probe_pack_2(trace,code,param1,param2) |
Records a packed event with 2 parameters. More... | |
#define | litl_write_probe_pack_3(trace,code,param1,param2,param3) |
Records a packed event with 3 parameters. More... | |
#define | litl_write_probe_pack_4(trace,code,param1,param2,param3,param4) |
Records a packed event with 4 parameters. More... | |
#define | litl_write_probe_pack_5(trace,code,param1,param2,param3,param4,param5) |
Records a packed event with 5 parameters. More... | |
#define | litl_write_probe_pack_6(trace,code,param1,param2,param3,param4,param5,param6) |
Records a packed event with 6 parameters. More... | |
#define | litl_write_probe_pack_7(trace,code,param1,param2,param3,param4,param5,param6,param7) |
Records a packed event with 7 parameters. More... | |
#define | litl_write_probe_pack_8(trace,code,param1,param2,param3,param4,param5,param6,param7,param8) |
Records a packed event with 8 parameters. More... | |
#define | litl_write_probe_pack_9(trace,code,param1,param2,param3,param4,param5,param6,param7,param8,param9) |
Records a packed event with 9 parameters. More... | |
#define | litl_write_probe_pack_10(trace,code,param1,param2,param3,param4,param5,param6,param7,param8,param9,param10) |
Records a packed event with 10 parameters. More... | |
Functions | |
litl_write_trace_t * | litl_write_init_trace (const uint32_t buf_size) |
Initializes the trace buffer. More... | |
void | litl_write_buffer_flush_on (litl_write_trace_t *trace) |
Activates buffer flush. More... | |
void | litl_write_buffer_flush_off (litl_write_trace_t *trace) |
Deactivates buffer flush. By default, it is activated. More... | |
void | litl_write_thread_safety_on (litl_write_trace_t *trace) |
Activates thread safety. More... | |
void | litl_write_thread_safety_off (litl_write_trace_t *trace) |
Deactivates thread safety. By default, it is activated. More... | |
void | litl_write_tid_recording_on (litl_write_trace_t *trace) |
Activates recording tid. More... | |
void | litl_write_tid_recording_off (litl_write_trace_t *trace) |
Deactivates recording tid. By default, it is activated. More... | |
void | litl_write_pause_recording (litl_write_trace_t *trace) |
Pauses the event recording. More... | |
void | litl_write_resume_recording (litl_write_trace_t *trace) |
Resumes the event recording. More... | |
void | litl_write_set_filename (litl_write_trace_t *trace, char *filename) |
Sets a new name for the trace file. More... | |
void | litl_write_probe_reg_0 (litl_write_trace_t *trace, litl_code_t code) |
Records a regular event without parameters. More... | |
void | litl_write_probe_reg_1 (litl_write_trace_t *trace, litl_code_t code, litl_param_t param1) |
Records a regular event with 1 parameter. More... | |
void | litl_write_probe_reg_2 (litl_write_trace_t *trace, litl_code_t code, litl_param_t param1, litl_param_t param2) |
Records a regular event with 2 parameters. More... | |
void | litl_write_probe_reg_3 (litl_write_trace_t *trace, litl_code_t code, litl_param_t param1, litl_param_t param2, litl_param_t param3) |
Records a regular event with 3 parameters. More... | |
void | litl_write_probe_reg_4 (litl_write_trace_t *trace, litl_code_t code, litl_param_t param1, litl_param_t param2, litl_param_t param3, litl_param_t param4) |
Records a regular event with 4 parameters. More... | |
void | litl_write_probe_reg_5 (litl_write_trace_t *trace, litl_code_t code, litl_param_t param1, litl_param_t param2, litl_param_t param3, litl_param_t param4, litl_param_t param5) |
Records a regular event with 5 parameters. More... | |
void | litl_write_probe_reg_6 (litl_write_trace_t *trace, litl_code_t code, litl_param_t param1, litl_param_t param2, litl_param_t param3, litl_param_t param4, litl_param_t param5, litl_param_t param6) |
Records a regular event with 6 parameters. More... | |
void | litl_write_probe_reg_7 (litl_write_trace_t *trace, litl_code_t code, litl_param_t param1, litl_param_t param2, litl_param_t param3, litl_param_t param4, litl_param_t param5, litl_param_t param6, litl_param_t param7) |
Records a regular event with 7 parameters. More... | |
void | litl_write_probe_reg_8 (litl_write_trace_t *trace, litl_code_t code, litl_param_t param1, litl_param_t param2, litl_param_t param3, litl_param_t param4, litl_param_t param5, litl_param_t param6, litl_param_t param7, litl_param_t param8) |
Records a regular event with 8 parameters. More... | |
void | litl_write_probe_reg_9 (litl_write_trace_t *trace, litl_code_t code, litl_param_t param1, litl_param_t param2, litl_param_t param3, litl_param_t param4, litl_param_t param5, litl_param_t param6, litl_param_t param7, litl_param_t param8, litl_param_t param9) |
Records a regular event with 9 parameters. More... | |
void | litl_write_probe_reg_10 (litl_write_trace_t *trace, litl_code_t code, litl_param_t param1, litl_param_t param2, litl_param_t param3, litl_param_t param4, litl_param_t param5, litl_param_t param6, litl_param_t param7, litl_param_t param8, litl_param_t param9, litl_param_t param10) |
Records a regular event with 10 parameters. More... | |
void | litl_write_probe_raw (litl_write_trace_t *trace, litl_code_t code, litl_size_t size, litl_data_t data[]) |
Records an event with data in a string format. More... | |
litl_t * | __litl_write_get_event (litl_write_trace_t *trace, litl_type_t type, litl_code_t code, int size) |
For internal use only. Allocates an event. More... | |
void | litl_write_finalize_trace (litl_write_trace_t *trace) |
Finalizes the trace. More... | |
litl_write Provides a set of functions for recording events in a trace file
Definition in file litl_write.h.