diff options
| author | 2012-11-30 19:32:12 -0800 | |
|---|---|---|
| committer | 2012-11-30 19:54:00 -0800 | |
| commit | 653078f652a7945756c2b02e294155a8345a5a1c (patch) | |
| tree | 786bfb353e086e3937806fd8cd6a0cfe03e5574b /libs/utils/Trace.cpp | |
| parent | c34204436870a21912e817cbe596af8b7b27c48a (diff) | |
utils: clarify scoped tracing functionality
ScopedTrace objects were being used in place of ATRACE_NAME because of a
misunderstanding of it's function. Cleared up documentation for usage.
Also explicitly use global namespace for sysprop callback.
Change-Id: I7c248b486b614ccdb841659ca0dcfc644fda670a
Diffstat (limited to 'libs/utils/Trace.cpp')
| -rw-r--r-- | libs/utils/Trace.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/utils/Trace.cpp b/libs/utils/Trace.cpp index d4f02187fd..36fd802146 100644 --- a/libs/utils/Trace.cpp +++ b/libs/utils/Trace.cpp @@ -21,5 +21,5 @@ static void traceInit() __attribute__((constructor)); static void traceInit() { - android::add_sysprop_change_callback(atrace_update_tags, 0); + ::android::add_sysprop_change_callback(atrace_update_tags, 0); } |