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

Commit 222c3fc5 authored by Daniel Colascione's avatar Daniel Colascione
Browse files

Remove ATRACE_TAG_APP from atrace's control

We control app tracing via the -a option, which system properties that
early app startup code inspects. This startup code ATRACE_TAG_APP
internally depending on the value of the properties derived from the
-a space, so letting users control the global value of ATRACE_TAG_APP
from atrace provides a false sense of control.

This CL removes the ability to set the global tag, directing user
attention to the -a option instead.

Test: code inspection
Bug:  77814899
Change-Id: If981ba302db27da1c9f1942cf54d400bd4672b73
(cherry picked from commit a5d41e65)
parent 505dbf0f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -105,7 +105,6 @@ static const TracingCategory k_categories[] = {
    { "video",      "Video",            ATRACE_TAG_VIDEO, { } },
    { "camera",     "Camera",           ATRACE_TAG_CAMERA, { } },
    { "hal",        "Hardware Modules", ATRACE_TAG_HAL, { } },
    { "app",        "Application",      ATRACE_TAG_APP, { } },
    { "res",        "Resource Loading", ATRACE_TAG_RESOURCES, { } },
    { "dalvik",     "Dalvik VM",        ATRACE_TAG_DALVIK, { } },
    { "rs",         "RenderScript",     ATRACE_TAG_RS, { } },