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.
◆ disable_fut_flush
#define disable_fut_flush |
( |
| ) |
|
Value: do { \
litl_write_buffer_flush_off(__trace); \
} while(0)
Definition at line 54 of file fxt.h.
◆ enable_fut_flush
#define enable_fut_flush |
( |
| ) |
|
Value: do { \
litl_write_buffer_flush_on(__trace); \
} while(0)
Definition at line 50 of file fxt.h.
◆ fut_disable_tid_logging
#define fut_disable_tid_logging |
( |
| ) |
|
Value: do { \
litl_write_tid_recording_off(__trace); \
} while(0)
Definition at line 62 of file fxt.h.
◆ FUT_DO_PROBE
◆ FUT_DO_PROBE0
#define FUT_DO_PROBE0 |
( |
|
code | ) |
|
Value: do { \
litl_t*retval; \
litl_write_probe_pack_0(__trace, code, retval); \
assert(retval != NULL); \
} while(0)
Definition at line 69 of file fxt.h.
◆ FUT_DO_PROBE1
#define FUT_DO_PROBE1 |
( |
|
code, |
|
|
|
arg1 |
|
) |
| |
Value: do { \
litl_t* retval; \
litl_write_probe_pack_1(__trace, code, arg1, retval); \
assert(retval != NULL); \
}while(0)
Definition at line 76 of file fxt.h.
◆ FUT_DO_PROBE2
#define FUT_DO_PROBE2 |
( |
|
code, |
|
|
|
arg1, |
|
|
|
arg2 |
|
) |
| |
Value: do { \
litl_t *retval; \
litl_write_probe_pack_2(__trace, code, arg1, arg2, retval); \
assert(retval != NULL); \
}while(0)
Definition at line 83 of file fxt.h.
◆ FUT_DO_PROBE3
#define FUT_DO_PROBE3 |
( |
|
code, |
|
|
|
arg1, |
|
|
|
arg2, |
|
|
|
arg3 |
|
) |
| |
Value: do { \
litl_t *retval; \
litl_write_probe_pack_3(__trace, code, arg1, arg2, arg3, retval); \
assert(retval != NULL); \
}while(0)
Definition at line 90 of file fxt.h.
◆ FUT_DO_PROBE4
#define FUT_DO_PROBE4 |
( |
|
code, |
|
|
|
arg1, |
|
|
|
arg2, |
|
|
|
arg3, |
|
|
|
arg4 |
|
) |
| |
Value: do { \
litl_t *retval; \
litl_write_probe_pack_4(__trace, code, arg1, arg2, arg3, arg4, retval); \
assert(retval != NULL); \
}while(0)
Definition at line 97 of file fxt.h.
◆ FUT_DO_PROBE5
#define FUT_DO_PROBE5 |
( |
|
code, |
|
|
|
arg1, |
|
|
|
arg2, |
|
|
|
arg3, |
|
|
|
arg4, |
|
|
|
arg5 |
|
) |
| |
Value: do { \
litl_t *retval; \
litl_write_probe_pack_5(__trace, code, arg1, arg2, arg3, arg4, arg5, retval); \
assert(retval != NULL); \
}while(0)
Definition at line 104 of file fxt.h.
◆ FUT_DO_PROBE6
#define FUT_DO_PROBE6 |
( |
|
code, |
|
|
|
arg1, |
|
|
|
arg2, |
|
|
|
arg3, |
|
|
|
arg4, |
|
|
|
arg5, |
|
|
|
arg6 |
|
) |
| |
Value: do { \
litl_t *retval; \
litl_write_probe_pack_6(__trace, code, arg1, arg2, arg3, arg4, arg5, arg6, retval); \
assert(retval != NULL); \
}while(0)
Definition at line 111 of file fxt.h.
◆ FUT_DO_PROBESTR
◆ fut_done
Value:
Definition at line 42 of file fxt.h.
◆ fut_enable_tid_logging
#define fut_enable_tid_logging |
( |
| ) |
|
Value: do { \
litl_write_tid_recording_on(__trace); \
} while(0)
Definition at line 58 of file fxt.h.
◆ fut_endup
#define fut_endup |
( |
|
filename | ) |
|
Value: do { \
litl_write_finalize_trace(__trace); \
}while(0)
Definition at line 39 of file fxt.h.
◆ fut_set_filename
#define fut_set_filename |
( |
|
filename | ) |
|
Value: do { \
litl_write_set_filename(__trace, filename); \
litl_write_resume_recording(__trace); \
} while(0)
Definition at line 45 of file fxt.h.
◆ fut_setup
#define fut_setup |
( |
|
buffer_size, |
|
|
|
keymask, |
|
|
|
threadid |
|
) |
| |
Value: do { \
litl_write_pause_recording(__trace); \
}while(0)
litl_write_trace_t * litl_write_init_trace(const litl_size_t buf_size)
Initializes the trace buffer.
Definition at line 33 of file fxt.h.
◆ fxt_t
Definition at line 28 of file fxt.h.