replicant-frameworks_native/cmds
Aaron Schulman cbe13ef59b Added Voltage and Current regulator ftrace events to atrace
Cherry-pick of c2c6ecd119 from AOSP

Tracing the state of the voltage and current regulators enables a developer
to attribute power consumption measurements to specific perhipherals and
cores. Unlike other indirect methods of tracing when peripherals and cores
are toggled, the regulator ftrace event indicates the exact point in time
when the kernel switches on or off the device. For example, in the following
trace, a developer can see exactly when the krait2 core starts receiving
power, and and when the voltage is set for voltage scaling.

mpdecision-2172  [000] ...1  1566.665481: regulator_enable: name=krait2
mpdecision-2172  [000] ...1  1566.665493: regulator_enable_delay: name=krait2
mpdecision-2172  [000] ...1  1566.665495: regulator_enable_complete: name=krait2
<...>-4133  [002] ...1  1566.666891: regulator_set_voltage: name=krait2 (1075000-1100000)

Change-Id: Ia322206ef74496daf1d9baa03545d8e89e398487
Signed-off-by: Aaron Schulman <aschulman@google.com>
2015-05-07 09:23:23 -07:00
..
atrace Added Voltage and Current regulator ftrace events to atrace 2015-05-07 09:23:23 -07:00
bugreport Refactor of the bugreport code. 2015-01-23 13:40:56 -08:00
dumpstate dumpstate: report per-partition MMC performance 2015-05-01 14:50:55 -07:00
dumpsys
flatland
installd Offer to move both code and data together. 2015-04-30 16:02:58 -07:00
ip-up-vpn
rawbu
service Add support for int64, float, double types to service command. 2015-04-06 19:42:43 -07:00
servicemanager Merge "Remove useless 'svcmgr_handle' (which had wrong type)." 2015-04-06 23:13:32 +00:00