summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'libcutils/trace-dev.inc')
-rw-r--r--libcutils/trace-dev.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcutils/trace-dev.inc b/libcutils/trace-dev.inc
index f32330a4c..f95c6c559 100644
--- a/libcutils/trace-dev.inc
+++ b/libcutils/trace-dev.inc
@@ -70,7 +70,7 @@ static bool atrace_is_cmdline_match(const char* cmdline)
70 for (int i = 0; i < count; i++) { 70 for (int i = 0; i < count; i++) {
71 snprintf(buf, sizeof(buf), "debug.atrace.app_%d", i); 71 snprintf(buf, sizeof(buf), "debug.atrace.app_%d", i);
72 property_get(buf, value, ""); 72 property_get(buf, value, "");
73 if (strcmp(value, cmdline) == 0) { 73 if (strcmp(value, "*") == 0 || strcmp(value, cmdline) == 0) {
74 return true; 74 return true;
75 } 75 }
76 } 76 }