From 92153fb955cd2c59cf9eba07461ddaba1c3d7792 Mon Sep 17 00:00:00 2001 From: Carlos Galo Date: Tue, 20 Dec 2022 18:47:59 +0000 Subject: [PATCH] Updating Attributes on task_profiles.json Adjusting attributes that correspond to the `blkio`(v1)/`io`(v2) controller. The migration of the `blkio` v1 controller to v2 requires renaming it to `io`, therefore we want to update the `File` field to point to `blkio` file and `FileV2` to point to `io` file. Test: Verified with cuttlefish that this works with the `io` controller migration by cherry-picking aosp/2218645 Bug: 263269364 Bug: 213617178 Change-Id: I0aacfc6d74e3eec61ebb2ce443b04c792392aa9e --- libprocessgroup/profiles/task_profiles.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libprocessgroup/profiles/task_profiles.json b/libprocessgroup/profiles/task_profiles.json index 15f95fcff..5762312f4 100644 --- a/libprocessgroup/profiles/task_profiles.json +++ b/libprocessgroup/profiles/task_profiles.json @@ -80,17 +80,20 @@ { "Name": "BfqWeight", "Controller": "io", - "File": "io.bfq.weight" + "File": "blkio.bfq.weight", + "FileV2": "io.bfq.weight" }, { "Name": "CfqGroupIdle", "Controller": "io", - "File": "io.group_idle" + "File": "blkio.group_idle", + "FileV2": "io.group_idle" }, { "Name": "CfqWeight", "Controller": "io", - "File": "io.weight" + "File": "blkio.weight", + "FileV2": "io.weight" } ],