diff options
| author | 2017-03-28 17:05:11 +0800 | |
|---|---|---|
| committer | 2017-04-06 10:23:55 +0800 | |
| commit | 4c51b7ebb0110872973e6167bac1a1e8d300df4b (patch) | |
| tree | 64dcc66dc87a5b30812c0d37f6be5e48558ddb90 /libs/ui/DebugUtils.cpp | |
| parent | 8039adad34b696971ac4c3b3287fb14d8c76985d (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
Diffstat (limited to 'libs/ui/DebugUtils.cpp')
0 files changed, 0 insertions, 0 deletions