summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2020-11-24 15:10:10 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-11-24 15:10:10 +0000
commit43124cda419fefa86d7e9b4caf711642b119984c (patch)
tree0bd542051857bfd87384730fbbe110d787ceae79
parent6d9cb71931877c832e2b479f340b374ca449d750 (diff)
parente1076a9fb1be18e6112f8a7c829791643bec05da (diff)
downloadbonito-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.json11
-rw-r--r--device.mk4
-rw-r--r--task_profiles.json121
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"
- }
- ]
-}
diff --git a/device.mk b/device.mk
index 1c8eb9ae..1b2275a7 100644
--- a/device.mk
+++ b/device.mk
@@ -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"
- }
- }
- ]
- }
- ]
-}