OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
392db57
)
DO NOT MERGE: add support for new sched tracepoint
author
Tim Murray
<timmurray@google.com>
Mon, 30 Nov 2015 18:59:55 +0000
(10:59 -0800)
committer
Tim Murray
<timmurray@google.com>
Mon, 30 Nov 2015 18:59:55 +0000
(10:59 -0800)
This tracepoint gives systrace the means to display the reason
for uninterruptible sleep.
bug
23350688
Change-Id: I9ee5b6904c27bcb5bd67c86fda66d45d0a3c0999
cmds/atrace/atrace.cpp
patch
|
blob
|
history
diff --git
a/cmds/atrace/atrace.cpp
b/cmds/atrace/atrace.cpp
index
26c5b4a
..
7201e77
100644
(file)
--- 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" },