diff options
author | Suren Baghdasaryan <surenb@google.com> | 2020-11-24 15:10:10 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-11-24 15:10:10 +0000 |
commit | 43124cda419fefa86d7e9b4caf711642b119984c (patch) | |
tree | 0bd542051857bfd87384730fbbe110d787ceae79 | |
parent | 6d9cb71931877c832e2b479f340b374ca449d750 (diff) | |
parent | e1076a9fb1be18e6112f8a7c829791643bec05da (diff) | |
download | bonito-43124cda419fefa86d7e9b4caf711642b119984c.tar.gz |
Revert "bonito: Add vendor libprocessgroup json file" am: e1076a9fb1
Original change: https://android-review.googlesource.com/c/device/google/bonito/+/1507919
Change-Id: Ie2c7b0e3ad4640f86e87e5ca79602960843aa3b3
-rw-r--r-- | cgroups.json | 11 | ||||
-rw-r--r-- | device.mk | 4 | ||||
-rw-r--r-- | task_profiles.json | 121 |
3 files changed, 0 insertions, 136 deletions
diff --git a/cgroups.json b/cgroups.json deleted file mode 100644 index 17d49294..00000000 --- a/cgroups.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "Cgroups": [ - { - "Controller": "schedtune", - "Path": "/dev/stune", - "Mode": "0755", - "UID": "system", - "GID": "system" - } - ] -} @@ -240,10 +240,6 @@ PRODUCT_PACKAGES += \ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/powerhint.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json \ - $(LOCAL_PATH)/cgroups.json:$(TARGET_COPY_OUT_VENDOR)/etc/cgroups.json - # perfstatsd PRODUCT_PACKAGES_DEBUG += \ perfstatsd diff --git a/task_profiles.json b/task_profiles.json deleted file mode 100644 index a9e45b5d..00000000 --- a/task_profiles.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "Attributes": [ - { - "Name": "STuneBoost", - "Controller": "schedtune", - "File": "schedtune.boost" - }, - { - "Name": "STunePreferIdle", - "Controller": "schedtune", - "File": "schedtune.prefer_idle" - } - ], - - "Profiles": [ - { - "Name": "HighEnergySaving", - "Actions": [ - { - "Name": "JoinCgroup", - "Params": - { - "Controller": "schedtune", - "Path": "background" - } - } - ] - }, - { - "Name": "NormalPerformance", - "Actions": [ - { - "Name": "JoinCgroup", - "Params": - { - "Controller": "schedtune", - "Path": "" - } - } - ] - }, - { - "Name": "HighPerformance", - "Actions": [ - { - "Name": "JoinCgroup", - "Params": - { - "Controller": "schedtune", - "Path": "foreground" - } - } - ] - }, - { - "Name": "MaxPerformance", - "Actions": [ - { - "Name": "JoinCgroup", - "Params": - { - "Controller": "schedtune", - "Path": "top-app" - } - } - ] - }, - { - "Name": "RealtimePerformance", - "Actions": [ - { - "Name": "JoinCgroup", - "Params": - { - "Controller": "schedtune", - "Path": "rt" - } - } - ] - }, - { - "Name": "CameraServicePerformance", - "Actions": [ - { - "Name": "JoinCgroup", - "Params": - { - "Controller": "schedtune", - "Path": "camera-daemon" - } - } - ] - }, - { - "Name": "CpuPolicySpread", - "Actions": [ - { - "Name": "SetAttribute", - "Params": - { - "Name": "STunePreferIdle", - "Value": "1" - } - } - ] - }, - { - "Name": "CpuPolicyPack", - "Actions": [ - { - "Name": "SetAttribute", - "Params": - { - "Name": "STunePreferIdle", - "Value": "0" - } - } - ] - } - ] -} |