Trace clock_enable and clock_disable events.

We track changes in peripheral clock frequency with 'freq' events, but
not if the clock turns on or off. Logging clock_enable and clock_disable
events lets us get a better picture of the peripheral clocks from the
systraces.

Test: see clock_enable/disable events from 'adb shell atrace freq'.
Change-Id: I572a5cf87af8f37b22b5ffb726eb5c2c49886af1
Merged-In: I572a5cf87af8f37b22b5ffb726eb5c2c49886af1
diff --git a/cmds/atrace/atrace.cpp b/cmds/atrace/atrace.cpp
index ad2388f..3255e7f 100644
--- a/cmds/atrace/atrace.cpp
+++ b/cmds/atrace/atrace.cpp
@@ -152,6 +152,8 @@
     { "freq",       "CPU Frequency",    0, {
         { REQ,      "events/power/cpu_frequency/enable" },
         { OPT,      "events/power/clock_set_rate/enable" },
+        { OPT,      "events/power/clock_disable/enable" },
+        { OPT,      "events/power/clock_enable/enable" },
         { OPT,      "events/power/cpu_frequency_limits/enable" },
     } },
     { "membus",     "Memory Bus Utilization", 0, {