)]}'
{
  "commit": "ba385197ab1a7c7534a8f2cb521318acf509d870",
  "tree": "f0acaa5bb143ade2eebe077062b17453a269fb8a",
  "parents": [
    "4c4bc185396b3041508a488e8166031d38d979f9"
  ],
  "author": {
    "name": "Suren Baghdasaryan",
    "email": "surenb@google.com",
    "time": "Tue Jul 25 15:45:45 2023 -0700"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Fri Aug 25 05:33:24 2023 +0000"
  },
  "message": "libprocessgroup: optimize SetAttributeAction::ExecuteForProcess performance\n\nCurrent implementation of SetAttributeAction::ExecuteForProcess reuses\nSetAttributeAction::ExecuteForTask while not utilizing available uid/pid\ninformation. This results in a call to GetPathForTask() which is an\nexpensive function due to it reading and parsing /proc/$pid/cgroups.\nThis can be avoided if we utilize available uid/pid info and the fact\nthat cgroup v2 attributes share the cgroup v2 hierarchy as process\ngroups, which use a known path template.\n\nBug: 292636609\nSigned-off-by: Suren Baghdasaryan \u003csurenb@google.com\u003e\n(cherry picked from commit 961c01ce23bb886583ca8cac1640806346c09a7f)\n(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1e81ee13638c5ca03157db674009d4cf7c2a1263)\nMerged-In: I02e3046bd85d0dfebc68ab444f1796bb54cc69c7\nChange-Id: I02e3046bd85d0dfebc68ab444f1796bb54cc69c7\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "44dba2a166944acdcdbfdf66b7b2c22f5b640e5d",
      "old_mode": 33188,
      "old_path": "libprocessgroup/task_profiles.cpp",
      "new_id": "86ecdbfcd6c2a324b6045a2425582eaea20fbb6e",
      "new_mode": 33188,
      "new_path": "libprocessgroup/task_profiles.cpp"
    },
    {
      "type": "modify",
      "old_id": "a62c5b0a9e8c5e84fc3c9d09c5717c79316530ba",
      "old_mode": 33188,
      "old_path": "libprocessgroup/task_profiles.h",
      "new_id": "5e182f20e4053a831b16ba18ad7bdb03cdd2d03f",
      "new_mode": 33188,
      "new_path": "libprocessgroup/task_profiles.h"
    },
    {
      "type": "modify",
      "old_id": "eadbe7697b0787e43b63d12b8471d70a6b90a31c",
      "old_mode": 33188,
      "old_path": "libprocessgroup/task_profiles_test.cpp",
      "new_id": "fe3f61d9fb59004cef63e2ddd9b676b49689aac5",
      "new_mode": 33188,
      "new_path": "libprocessgroup/task_profiles_test.cpp"
    }
  ]
}
