Merge "Trace.h: explicitly use global namespace"

am: a8854d3460

Change-Id: Ia88b4a94e695ca935670dce8054a928960cad85f
This commit is contained in:
Steven Moreland 2019-11-06 16:42:17 -08:00 committed by android-build-merger
commit 15d5ef59e7

View file

@ -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__)