summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Sumrall <ksumrall@android.com>2013-07-03 12:32:03 -0700
committerKen Sumrall <ksumrall@android.com>2013-07-03 12:32:50 -0700
commitd3fa5616160c53d5bec8cd91d65f3732413c1a56 (patch)
tree7d153ff4fc93b15b8298edafb568014689dda86a
parent9c3e2dd97e100a3effe617cacb00cf163577ba13 (diff)
downloadframeworks_native-d3fa5616160c53d5bec8cd91d65f3732413c1a56.zip
frameworks_native-d3fa5616160c53d5bec8cd91d65f3732413c1a56.tar.gz
frameworks_native-d3fa5616160c53d5bec8cd91d65f3732413c1a56.tar.bz2
Add support for mmc trace events
Change-Id: I1d9f2a85e50f8e30d418fb97c01ce7b0fbb680bd
-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 6d6f77e..b500a6b 100644
--- a/cmds/atrace/atrace.cpp
+++ b/cmds/atrace/atrace.cpp
@@ -103,6 +103,9 @@ static const TracingCategory k_categories[] = {
{ REQ, "/sys/kernel/debug/tracing/events/block/block_rq_issue/enable" },
{ REQ, "/sys/kernel/debug/tracing/events/block/block_rq_complete/enable" },
} },
+ { "mmc", "eMMC commands", 0, {
+ { REQ, "/sys/kernel/debug/tracing/events/mmc/enable" },
+ } },
{ "load", "CPU Load", 0, {
{ REQ, "/sys/kernel/debug/tracing/events/cpufreq_interactive/enable" },
} },