Lines Matching defs:name
154 * Trace the beginning of a context. name is used to identify the context.
157 #define ATRACE_BEGIN(name) atrace_begin(ATRACE_TAG, name)
158 static inline void atrace_begin(uint64_t tag, const char* name)
162 atrace_begin_body(name);
181 * contexts, asynchronous events do not need to be nested. The name describes
183 * simultaneous events. The name and cookie used to begin an event must be
186 #define ATRACE_ASYNC_BEGIN(name, cookie) \
187 atrace_async_begin(ATRACE_TAG, name, cookie)
188 static inline void atrace_async_begin(uint64_t tag, const char* name,
193 atrace_async_begin_body(name, cookie);
201 #define ATRACE_ASYNC_END(name, cookie) atrace_async_end(ATRACE_TAG, name, cookie)
202 static inline void atrace_async_end(uint64_t tag, const char* name, int32_t cookie)
206 atrace_async_end_body(name, cookie);
211 * Traces an integer counter value. name is used to identify the counter.
214 #define ATRACE_INT(name, value) atrace_int(ATRACE_TAG, name, value)
215 static inline void atrace_int(uint64_t tag, const char* name, int32_t value)
219 atrace_int_body(name, value);
224 * Traces a 64-bit integer counter value. name is used to identify the
227 #define ATRACE_INT64(name, value) atrace_int64(ATRACE_TAG, name, value)
228 static inline void atrace_int64(uint64_t tag, const char* name, int64_t value)
232 atrace_int64_body(name, value);