From 8ed6c916efc9d8dd6c35ba5f7bcb75d96782bf1b Mon Sep 17 00:00:00 2001 From: EmanuelCN Date: Fri, 24 May 2024 14:40:01 +0300 Subject: [PATCH] sm8550-common: Override cgroups.json & task_profiles.json * In order to allow uclamp kernels to place tasks correctly --- common.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common.mk b/common.mk index 9b02399..c9baef5 100644 --- a/common.mk +++ b/common.mk @@ -89,6 +89,11 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \ frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml +# Cgroup and task_profiles +PRODUCT_COPY_FILES += \ + system/core/libprocessgroup/profiles/cgroups.json:$(TARGET_COPY_OUT_VENDOR)/etc/cgroups.json \ + system/core/libprocessgroup/profiles/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json + # Charger PRODUCT_PACKAGES += \ charger_res_images_vendor