xref: /OK3568_Linux_fs/app/lvgl_demo/sys/trace.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 #ifndef __TRACE_H__
2 #define __TRACE_H__
3 
4 #include <stdint.h>
5 
6 #if defined(__cplusplus)
7 #define __BEGIN_DECLS extern "C" {
8 #define __END_DECLS }
9 #else
10 #define __BEGIN_DECLS
11 #define __END_DECLS
12 #endif
13 
14 __BEGIN_DECLS
15 
16 void atrace_begin_body(const char* name);
17 void atrace_end_body();
18 void atrace_async_begin_body(const char* name, int32_t cookie);
19 void atrace_async_end_body(const char* name, int32_t cookie);
20 void atrace_int_body(const char* name, int32_t value);
21 void atrace_int64_body(const char* name, int64_t value);
22 
23 __END_DECLS
24 
25 #endif
26