commit | 448f76a1c4eb78661b5ac68013e8a2348c92df63 | [log] [tgz] |
---|---|---|
author | Alex Ray <aray@google.com> | Fri Nov 30 19:37:53 2012 -0800 |
committer | Alex Ray <aray@google.com> | Fri Nov 30 19:40:58 2012 -0800 |
tree | 64ef75a0ac1e551e807caac4a2ff2cf1efbf3ce6 | |
parent | eb35fdff9260419defa2cfdfa54dde0ebd911854 [diff] |
cutils: trace: use ANDROID_SMP to switch atomics With inline atomics, trace functions have no non-inline function calls in the fast (tracing off) path. To enable this, ANDROID_SMP must be defined for the project. Otherwise, normal (non-inline) atomics are used. Change-Id: Id1f75bdf7db2f5d319a389ad411f55073d78c48c