commit | 5a643b9fbd9f08bd04a38804d647c847c1c93b8f | [log] [tgz] |
---|---|---|
author | Zhuoyao Zhang <zhuoyao@google.com> | Tue Jan 03 17:31:53 2017 -0800 |
committer | Zhuoyao Zhang <zhuoyao@google.com> | Wed Jan 11 11:39:44 2017 -0800 |
tree | 574070491732a17350a9d12fbbe95e1dc35d47fa | |
parent | 33eb6bdc9db8d89a31131a937aef9dda764fb49f [diff] |
Support dynamically enable profiling. * Create method configureInstrumentation to enable/disable instrumentation based on the corresponding system property. This method will be called every time setHALInstrumention is invoked for any hal. * Add setHALInstrumention to IBase.hal Bug: 33923655 Test: make libhidlbase. Change-Id: I130fb903f65783568a97308e291965960abab41d