fxt Provides a mapping of the LiTL APIs into the FxT APIs for easier usage of LiTL in FxT-related applications
More...
#include <string.h>
#include <assert.h>
#include "litl_types.h"
#include "litl_write.h"
#include "litl_read.h"
Go to the source code of this file.
|
#define | fut_setup(buffer_size, keymask, threadid) |
|
#define | fut_endup(filename) |
|
#define | fut_done(void) |
|
#define | fut_set_filename(filename) |
|
#define | enable_fut_flush() |
|
#define | disable_fut_flush() |
|
#define | fut_enable_tid_logging() |
|
#define | fut_disable_tid_logging() |
|
#define | FUT_DO_PROBE0(code) |
|
#define | FUT_DO_PROBE1(code, arg1) |
|
#define | FUT_DO_PROBE2(code, arg1, arg2) |
|
#define | FUT_DO_PROBE3(code, arg1, arg2, arg3) |
|
#define | FUT_DO_PROBE4(code, arg1, arg2, arg3, arg4) |
|
#define | FUT_DO_PROBE5(code, arg1, arg2, arg3, arg4, arg5) |
|
#define | FUT_DO_PROBE6(code, arg1, arg2, arg3, arg4, arg5, arg6) |
|
#define | FUT_DO_PROBE(code,...) litl_write_probe_pack_0(__trace, code); |
|
#define | FUT_DO_PROBESTR(code, str) litl_write_probe_raw(__trace, code, strlen(str), str) |
|
fxt Provides a mapping of the LiTL APIs into the FxT APIs for easier usage of LiTL in FxT-related applications
- Authors
- Developers are:
Roman Iakymchuk – roman.nosp@m..iak.nosp@m.ymchu.nosp@m.k@te.nosp@m.lecom.nosp@m.-sud.nosp@m.paris.nosp@m..eu
Francois Trahay – franc.nosp@m.ois..nosp@m.traha.nosp@m.y@te.nosp@m.lecom.nosp@m.-sud.nosp@m.paris.nosp@m..eu
Definition in file fxt.h.
#define disable_fut_flush |
( |
| ) |
|
Value:
} while(0)
void litl_write_buffer_flush_off(litl_write_trace_t *trace)
Disable buffer flush.
Definition at line 54 of file fxt.h.
#define enable_fut_flush |
( |
| ) |
|
Value:
} while(0)
void litl_write_buffer_flush_on(litl_write_trace_t *trace)
Enable buffer flush. By default, it is disabled.
Definition at line 50 of file fxt.h.
#define fut_disable_tid_logging |
( |
| ) |
|
Value:
} while(0)
void litl_write_tid_recording_off(litl_write_trace_t *trace)
Disable recording tid. By default, it is enabled.
Definition at line 62 of file fxt.h.
#define FUT_DO_PROBE0 |
( |
|
code | ) |
|
Value:do { \
assert(retval != NULL); \
} while(0)
#define litl_write_probe_pack_0(trace,code,retval)
Records a packed event without parameters.
Definition at line 69 of file fxt.h.
#define FUT_DO_PROBE1 |
( |
|
code, |
|
|
|
arg1 |
|
) |
| |
Value:do { \
assert(retval != NULL); \
}while(0)
#define litl_write_probe_pack_1(trace,code,param1,retval)
Records a packed event with 1 parameter.
Definition at line 76 of file fxt.h.
#define FUT_DO_PROBE2 |
( |
|
code, |
|
|
|
arg1, |
|
|
|
arg2 |
|
) |
| |
Value:do { \
assert(retval != NULL); \
}while(0)
#define litl_write_probe_pack_2(trace,code,param1,param2,retval)
Records a packed event with 2 parameters.
Definition at line 83 of file fxt.h.
#define FUT_DO_PROBE3 |
( |
|
code, |
|
|
|
arg1, |
|
|
|
arg2, |
|
|
|
arg3 |
|
) |
| |
Value:do { \
assert(retval != NULL); \
}while(0)
#define litl_write_probe_pack_3(trace,code,param1,param2,param3,retval)
Records a packed event with 3 parameters.
Definition at line 90 of file fxt.h.
#define FUT_DO_PROBE4 |
( |
|
code, |
|
|
|
arg1, |
|
|
|
arg2, |
|
|
|
arg3, |
|
|
|
arg4 |
|
) |
| |
Value:do { \
assert(retval != NULL); \
}while(0)
#define litl_write_probe_pack_4(trace,code,param1,param2,param3,param4,retval)
Records a packed event with 4 parameters.
Definition at line 97 of file fxt.h.
#define FUT_DO_PROBE5 |
( |
|
code, |
|
|
|
arg1, |
|
|
|
arg2, |
|
|
|
arg3, |
|
|
|
arg4, |
|
|
|
arg5 |
|
) |
| |
Value:do { \
assert(retval != NULL); \
}while(0)
#define litl_write_probe_pack_5(trace,code,param1,param2,param3,param4,param5,retval)
Records a packed event with 5 parameters.
Definition at line 104 of file fxt.h.
#define FUT_DO_PROBE6 |
( |
|
code, |
|
|
|
arg1, |
|
|
|
arg2, |
|
|
|
arg3, |
|
|
|
arg4, |
|
|
|
arg5, |
|
|
|
arg6 |
|
) |
| |
Value:do { \
assert(retval != NULL); \
}while(0)
#define litl_write_probe_pack_6(trace,code,param1,param2,param3,param4,param5,param6,retval)
Records a packed event with 6 parameters.
Definition at line 111 of file fxt.h.
Value:
Definition at line 42 of file fxt.h.
#define fut_enable_tid_logging |
( |
| ) |
|
Value:
} while(0)
void litl_write_tid_recording_on(litl_write_trace_t *trace)
Enable recording tid.
Definition at line 58 of file fxt.h.
#define fut_endup |
( |
|
filename | ) |
|
Value:
}while(0)
void litl_write_finalize_trace(litl_write_trace_t *trace)
Finalizes the trace.
Definition at line 39 of file fxt.h.
#define fut_set_filename |
( |
|
filename | ) |
|
Value:
} while(0)
void litl_write_resume_recording(litl_write_trace_t *trace)
Resumes the event recording.
void litl_write_set_filename(litl_write_trace_t *trace, char *filename)
Sets a new name for the trace file.
Definition at line 45 of file fxt.h.
#define fut_setup |
( |
|
buffer_size, |
|
|
|
keymask, |
|
|
|
threadid |
|
) |
| |
Value:do { \
}while(0)
litl_write_trace_t * litl_write_init_trace(const litl_size_t buf_size)
Initializes the trace buffer.
void litl_write_pause_recording(litl_write_trace_t *trace)
Pauses the event recording.
Definition at line 33 of file fxt.h.
Definition at line 28 of file fxt.h.