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
Merged-In: Id187e448a414cb2420b40d65ecf6219296d45172
diff --git a/cmds/atrace/atrace.cpp b/cmds/atrace/atrace.cpp
index 3255e7f..f625250 100644
--- a/cmds/atrace/atrace.cpp
+++ b/cmds/atrace/atrace.cpp
@@ -154,6 +154,9 @@
{ OPT, "events/power/clock_set_rate/enable" },
{ OPT, "events/power/clock_disable/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" },
} },
{ "membus", "Memory Bus Utilization", 0, {