Merge "Support * as a wildcard for ATRACE_TAG_APP" am: 53c964f53b
am: 2e50045f60
Change-Id: I8b593eb2752483b825acfac55eba5013fd427f33
This commit is contained in:
commit
34499aab21
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ static bool atrace_is_cmdline_match(const char* cmdline)
|
|||
for (int i = 0; i < count; i++) {
|
||||
snprintf(buf, sizeof(buf), "debug.atrace.app_%d", i);
|
||||
property_get(buf, value, "");
|
||||
if (strcmp(value, cmdline) == 0) {
|
||||
if (strcmp(value, "*") == 0 || strcmp(value, cmdline) == 0) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue