Add BinderObserverConfig and default sharding (2)
Add a new BinderObserverConfig class to keep track of the current sharding config and determine whether stats collection should be enabled on the process or AIDL level. Add default sharding parameters and lots of tests. This is to ensure the overhead of tracking stats is kept at a reasonable level. Later the sharding parameters will be made configurable via system properties. Co-authored by Parth Sane <parthsane@google.com> (see ag/34203654). Note that he original change was reverted due to a test breakage (b/432893815). Some logging was removed to address the breakage. Bug: 299356196 Test: atest binderObserverConfigUnitTest Flag: build.RELEASE_LIBBINDER_BINDER_OBSERVER Change-Id: Ia2676de801aea15407aff4bfaffd0b8cb1779ad7
Loading
Please register or sign in to comment