Tizen RT Libs&Environment
v1.1 D4
|
![]() |
Files | |
file | ttrace.h |
ttrace APIs | |
Data Structures | |
struct | sched_message |
union | trace_message |
struct | trace_packet |
Macros | |
#define | TTRACE_START 's' |
#define | TTRACE_OVERWRITE 'o' |
#define | TTRACE_FINISH 'f' |
#define | TTRACE_INFO 'i' |
#define | TTRACE_SELECTED_TAG 't' |
#define | TTRACE_FUNC_TAG 'g' |
#define | TTRACE_SET_BUFSIZE 'z' |
#define | TTRACE_USED_BUFSIZE 'u' |
#define | TTRACE_BUFFER 'b' |
#define | TTRACE_DUMP 'd' |
#define | TTRACE_PRINT 'p' |
#define | TTRACE_CODE_VARIABLE 0 |
#define | TTRACE_CODE_UNIQUE (1 << 7) |
#define | TTRACE_MSG_BYTES 32 |
#define | TTRACE_COMM_BYTES 12 |
#define | TTRACE_BYTE_ALIGN 4 |
#define | TTRACE_NODATA -2 |
#define | TTRACE_INVALID -1 |
#define | TTRACE_VALID 0 |
#define | TTRACE_TAG_ALL -1 |
#define | TTRACE_TAG_OFF 0 |
#define | TTRACE_TAG_APPS (1 << 0) |
#define | TTRACE_TAG_LIBS (1 << 1) |
#define | TTRACE_TAG_LOCK (1 << 2) |
#define | TTRACE_TAG_TASK (1 << 3) |
#define | TTRACE_TAG_IPC (1 << 4) |
Functions | |
int | trace_begin (int tag, char *str,...) |
writes a trace log with string to indicate that a event has begun More... | |
int | trace_begin_uid (int tag, int8_t uniqueid) |
writes a trace log with unique id to indicate that a event has begun More... | |
int | trace_end (int tag) |
writes a trace log to indicate that the event has ended More... | |
int | trace_end_uid (int tag) |
writes a trace log to indicate that a event has ended More... | |
int | trace_sched (struct tcb_s *prev, struct tcb_s *next) |
writes a trace log for scheduler events More... | |
int trace_begin | ( | int | tag, |
char * | str, | ||
... | |||
) |
writes a trace log with string to indicate that a event has begun
#include <tinyara/ttrace.h>
[in] | tag | number for tag |
[in] | str | unique strings like function name for distinguishing events |
int trace_begin_uid | ( | int | tag, |
int8_t | uniqueid | ||
) |
writes a trace log with unique id to indicate that a event has begun
#include <tinyara/ttrace.h>
[in] | tag | number for tag |
[in] | uniqueid | unique id for distinguishing events |
int trace_end | ( | int | tag | ) |
writes a trace log to indicate that the event has ended
#include <tinyara/ttrace.h>
[in] | tag | number for tag |
int trace_end_uid | ( | int | tag | ) |
writes a trace log to indicate that a event has ended
#include <tinyara/ttrace.h>
[in] | tag | number for tag |
writes a trace log for scheduler events
#include <tinyara/ttrace.h>
[in] | prev | tcb of current task |
[in] | next | tcb of next task which will be switched |