Lines Matching defs:tags
119 // Read the sysprop and return the value tags should be set to
124 uint64_t tags;
126 property_get("debug.atrace.tags.enableflags", value, "0");
128 tags = strtoull(value, &endptr, 0);
132 } else if (errno == ERANGE || tags == ULLONG_MAX) {
140 tags |= ATRACE_TAG_APP;
142 tags &= ~ATRACE_TAG_APP;
145 return (tags | ATRACE_TAG_ALWAYS) & ATRACE_TAG_VALID_MASK;
148 // Update tags if tracing is ready. Useful as a sysprop change callback.
151 uint64_t tags;
154 tags = atrace_get_property();
156 atrace_enabled_tags = tags;
160 // initialize the tags.