Use eBPF-based time-in-state monitoring for groups of threads

Bug: 169279846

Test: along with frameworks/native/libs/cputimeinstate/cputimeinstate.cpp
      changes.
      Also, make sure that
          adb logcat -s LibBpfLoader
      shows no errors during BPF prog loading
Test: atest libtimeinstate_test
Change-Id: If6f1897503039701b2693905e829989d92af6956
1 file changed
tree: 420ff3c9f4b94985dc4fe93c11caa2235001bdf6
  1. test/
  2. Android.bp
  3. time_in_state.c