Commit 0c491542 authored by Liujie Xie's avatar Liujie Xie
Browse files

ANDROID: vendor_hooks: Add hooks for mutex and rwsem optimistic spin



These hooks help us do the following things:
a) Record the number of mutex and rwsem optimistic spin.
b) Monitor the time of mutex and rwsem optimistic spin.
c) Make it possible if oems don't want mutex and rwsem to optimistic spin
for a long time.

Bug: 267565260
Bug: 278980831
Change-Id: I2bee30fb17946be85e026213b481aeaeaee2459f
Signed-off-by: default avatarLiujie Xie <xieliujie@oppo.com>
(cherry picked from commit 05b5ff11)
parent a4a34bc0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment