summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorChris Craik <ccraik@android.com>2015-05-07 16:20:52 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-05-07 16:20:52 +0000
commit05815996c965b99c4cc4ea96f6b6c4a9123cdf1c (patch)
tree1f60a2b807a88d8acf99abd43aad17e0837bc012 /cmds
parentc4e98c40deacb54ad7288337927506cb5798dfa5 (diff)
parentc2c6ecd1195481f5813a721a7d20a73c0795c135 (diff)
downloadframeworks_native-05815996c965b99c4cc4ea96f6b6c4a9123cdf1c.zip
frameworks_native-05815996c965b99c4cc4ea96f6b6c4a9123cdf1c.tar.gz
frameworks_native-05815996c965b99c4cc4ea96f6b6c4a9123cdf1c.tar.bz2
Merge "Added Voltage and Current regulator ftrace events to atrace"
Diffstat (limited to 'cmds')
-rw-r--r--cmds/atrace/atrace.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmds/atrace/atrace.cpp b/cmds/atrace/atrace.cpp
index 515d761..4100fa3 100644
--- a/cmds/atrace/atrace.cpp
+++ b/cmds/atrace/atrace.cpp
@@ -137,6 +137,9 @@ static const TracingCategory k_categories[] = {
{ REQ, "/sys/kernel/debug/tracing/events/vmscan/mm_vmscan_kswapd_wake/enable" },
{ REQ, "/sys/kernel/debug/tracing/events/vmscan/mm_vmscan_kswapd_sleep/enable" },
} },
+ { "regulators", "Voltage and Current Regulators", 0, {
+ { REQ, "/sys/kernel/debug/tracing/events/regulator/enable" },
+ } },
};
/* Command line options */