diff options
author | Howard Chen <howardsoc@google.com> | 2017-03-28 17:05:11 +0800 |
---|---|---|
committer | PO HUNG CHEN <howardsoc@google.com> | 2017-04-05 11:01:36 +0000 |
commit | 25715517db7e056c0ebd71ecc0debf37c7d2b271 (patch) | |
tree | c975cbed7b28b3df351aa09a7f08d739c7092b09 /opengl/tests/gl_basic/gl_basic.cpp | |
parent | 585e32faccaf80cf51e8148959abfbee49624b97 (diff) |
Support halt the trace when schd-dbg hit deadline
Usage:
start atrace as usual:
>atrace --async_start sched freq ...
then use schd-dbg with -trace arguments
./schd-dbg -trace -deadline_us 2500
This makes schd-dbg to stop trace once it detects a transaction
duration over the deadline. By writing '0' to
/sys/kernel/debug/tracing and halt the process. The tracelog is
then available on /sys/kernel/debug/trace
Bug: b/36669012
Test: sailfish with prebuilt kernel
Change-Id: I9f81109cd22705f070f3f78ddf3539b8fa1f9973
(cherry picked from commit f682b13716006d0f41c13a26e34f3592ff28d1cc)
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions