diff options
-rw-r--r-- | libutils/include/utils/Trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libutils/include/utils/Trace.h b/libutils/include/utils/Trace.h index fec0ffa82..9986bf5f9 100644 --- a/libutils/include/utils/Trace.h +++ b/libutils/include/utils/Trace.h @@ -33,7 +33,7 @@ // ATRACE_NAME traces from its location until the end of its enclosing scope. #define _PASTE(x, y) x ## y #define PASTE(x, y) _PASTE(x,y) -#define ATRACE_NAME(name) android::ScopedTrace PASTE(___tracer, __LINE__) (ATRACE_TAG, name) +#define ATRACE_NAME(name) ::android::ScopedTrace PASTE(___tracer, __LINE__)(ATRACE_TAG, name) // ATRACE_CALL is an ATRACE_NAME that uses the current function name. #define ATRACE_CALL() ATRACE_NAME(__FUNCTION__) |