OSDN Git Service

Do not set the trace clock in atrace.rc.
authorCarmen Jackson <carmenjackson@google.com>
Tue, 23 May 2017 18:54:01 +0000 (11:54 -0700)
committerCarmen Jackson <carmenjackson@google.com>
Tue, 23 May 2017 19:24:29 +0000 (12:24 -0700)
commit69915f973399a8b4e948877ce0cadead1e1a577a
treecb050cd2b0c49dc7abd5f639f559d2c8281f2d9b
parente2fad8108e8b266efc446a9a348b6cb5d8eaebe8
Do not set the trace clock in atrace.rc.

This reverts only the atrace.rc change from commit ea826794184be368f65f099ceac4fc31234700f6.
"Set the atrace clock to the best available value: boot, mono, or global."

This change caused a 100+ms regression in boot time. We also confirm that
the clock is set to the correct value when we call atrace, so we will
still see correct behavior after reverting this change.

Bug: 38504158
Test: Manually tested that the trace clock is updated when atrace is
called.
Change-Id: Ifa302694964a4f9fc54db16e7125d5279067bbfd
cmds/atrace/atrace.rc