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

Commit 86d46df5 authored by Wei Wang's avatar Wei Wang
Browse files

Add thermal category to atrace.

Thermal has become more and more interesting when study
application/system behavior. This CL adds a new thermal
category into atrace.

Bug: 160818586
Test: take systrace
Change-Id: Ia64ddebfc821fb3d48c7b888ca84cf970eebff77
parent 3b886a7b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -239,6 +239,10 @@ static const TracingCategory k_categories[] = {
        { OPT,      "events/kmem/ion_heap_shrink/enable" },
        { OPT,      "events/ion/ion_stat/enable" },
    } },
    { "thermal",  "Thermal event", 0, {
        { REQ,      "events/thermal/thermal_temperature/enable" },
        { OPT,      "events/thermal/cdev_update/enable" },
    } },
};

struct TracingVendorCategory {