Change name of system property for traces.

This allows the property to be changed from the settings UI.

Change-Id: Ife7424b3549e5bbe51b6ad2fb8e5edde3a9fd608
This commit is contained in:
Dianne Hackborn 2012-05-08 14:54:24 -07:00
parent ddcb1c2bbd
commit 34c65888d1

View File

@ -39,7 +39,7 @@ void Tracer::init() {
// sEnabledTags remains zero indicating that no tracing can occur // sEnabledTags remains zero indicating that no tracing can occur
} else { } else {
char value[PROPERTY_VALUE_MAX]; char value[PROPERTY_VALUE_MAX];
property_get("atrace.tags.enableflags", value, "0"); property_get("debug.atrace.tags.enableflags", value, "0");
sEnabledTags = (strtoll(value, NULL, 0) & ATRACE_TAG_VALID_MASK) sEnabledTags = (strtoll(value, NULL, 0) & ATRACE_TAG_VALID_MASK)
| ATRACE_TAG_ALWAYS; | ATRACE_TAG_ALWAYS;
} }