summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2015-11-30 10:59:55 -0800
committerTim Murray <timmurray@google.com>2015-11-30 10:59:55 -0800
commitbd65161021cecc8d0cda8a5efb5650ce9782fee9 (patch)
tree85abafcfac6807c42833c553ac08d70135f129fe
parent392db573b35d6fe09c4da094ed81c54ed528a511 (diff)
downloadframeworks_native-bd65161021cecc8d0cda8a5efb5650ce9782fee9.zip
frameworks_native-bd65161021cecc8d0cda8a5efb5650ce9782fee9.tar.gz
frameworks_native-bd65161021cecc8d0cda8a5efb5650ce9782fee9.tar.bz2
DO NOT MERGE: add support for new sched tracepoint
This tracepoint gives systrace the means to display the reason for uninterruptible sleep. bug 23350688 Change-Id: I9ee5b6904c27bcb5bd67c86fda66d45d0a3c0999
-rw-r--r--cmds/atrace/atrace.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/atrace/atrace.cpp b/cmds/atrace/atrace.cpp
index 26c5b4a..7201e77 100644
--- a/cmds/atrace/atrace.cpp
+++ b/cmds/atrace/atrace.cpp
@@ -93,6 +93,7 @@ static const TracingCategory k_categories[] = {
{ "sched", "CPU Scheduling", 0, {
{ REQ, "/sys/kernel/debug/tracing/events/sched/sched_switch/enable" },
{ REQ, "/sys/kernel/debug/tracing/events/sched/sched_wakeup/enable" },
+ { OPT, "/sys/kernel/debug/tracing/events/sched/sched_blocked_reason/enable" },
} },
{ "irq", "IRQ Events", 0, {
{ REQ, "/sys/kernel/debug/tracing/events/irq/enable" },