Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 642ef98b authored by Daniel Colascione's avatar Daniel Colascione
Browse files

Support * as a wildcard for ATRACE_TAG_APP

Test: strcmp
Change-Id: I33ec3ae071e3856538444663bbabb3c779ed8afa
parent cd2fa1f4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
        }
    }