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

Commit 391efc2e authored by Wei Wang's avatar Wei Wang
Browse files

Add clk tracing to freq category

Upstream has clk_* in `/trace/events/clk.h' and clock_* `/trace/events/power.h'
for reporting clock events, and individual driver may pick either.

Bug: 73775767
Test: collect systrace
Change-Id: Id187e448a414cb2420b40d65ecf6219296d45172
parent c1d316f4
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -155,6 +155,9 @@ static const TracingCategory k_categories[] = {
        { OPT,      "events/power/clock_set_rate/enable" },
        { OPT,      "events/power/clock_set_rate/enable" },
        { OPT,      "events/power/clock_disable/enable" },
        { OPT,      "events/power/clock_disable/enable" },
        { OPT,      "events/power/clock_enable/enable" },
        { OPT,      "events/power/clock_enable/enable" },
        { OPT,      "events/clk/clk_set_rate/enable" },
        { OPT,      "events/clk/clk_disable/enable" },
        { OPT,      "events/clk/clk_enable/enable" },
        { OPT,      "events/power/cpu_frequency_limits/enable" },
        { OPT,      "events/power/cpu_frequency_limits/enable" },
    } },
    } },
    { "membus",     "Memory Bus Utilization", 0, {
    { "membus",     "Memory Bus Utilization", 0, {