)]}'
{
  "commit": "fc1dcfe5f06cddef23d47faf619086fec557d5bb",
  "tree": "840f7987916d4292bf74a9520899136b579bd266",
  "parents": [
    "f8505e9c1eb6cac68f8c7c548399791142ed47a5"
  ],
  "author": {
    "name": "Ben Vanik",
    "email": "ben.vanik@gmail.com",
    "time": "Tue Apr 28 11:45:38 2026 -0700"
  },
  "committer": {
    "name": "Ben Vanik",
    "email": "ben.vanik@gmail.com",
    "time": "Wed Apr 29 13:46:12 2026 -0700"
  },
  "message": "[HAL/AMDGPU] Abstract profile device clock sampling\n\nMove profiling clock-correlation sampling behind util/device_clock. The system object now owns a platform clock source instead of a raw KFD descriptor, logical devices sample through that source, and physical devices carry the HSA driver_uid without baking the Linux KFD name into the core device identity.\n\nKeep util/kfd as the Linux ioctl transport. It now returns raw AMDKFD_IOC_GET_CLOCK_COUNTERS values, while device_clock owns the generic validation and source-type dispatch so future Windows or macOS HSA support has a named unavailable/source boundary instead of spreading platform branches through profiling consumers.\n\nEmit clock-correlation chunks only for profiling data families that consume HSA/device timestamps. Host-only queue events, memory events, executable metadata, and device metrics no longer require a device clock source, which keeps unrelated profiling modes alive on platforms without an equivalent clock-correlation API.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ba0a6c5bb622007658e7354d7aec6215b13f1515",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/BUILD.bazel",
      "new_id": "4784e75e59357e01546e8c0e535ffdb16aef280b",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "ac10d0f60809de02424a0824fd7ddedc7ac22a7c",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/CMakeLists.txt",
      "new_id": "0e92cf17a90b498addeef9e52d99291b1785bee0",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "0dbd2026e8a4b06945be1d039cef25475679e87c",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/host_queue_command_buffer_test.cc",
      "new_id": "0f1344ad431cc5c6934a034a504bc84339a8e78b",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/host_queue_command_buffer_test.cc"
    },
    {
      "type": "modify",
      "old_id": "a9b2f2f486fb3b0268d288aef76e276e7b121fc9",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/logical_device.c",
      "new_id": "9098d8456009dcc6d43a222cc757d8240b32042b",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/logical_device.c"
    },
    {
      "type": "modify",
      "old_id": "5a5c34702c7740f18be39eda27a5b520d47456c5",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/physical_device.c",
      "new_id": "d7f26dc2252aca440c30799740676ed42d0ce652",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/physical_device.c"
    },
    {
      "type": "modify",
      "old_id": "26124b0579a255996d4c7661f854b72c6d94baff",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/physical_device.h",
      "new_id": "83204c3f12e51e1a3e11cd99e6acd7a42dd89897",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/physical_device.h"
    },
    {
      "type": "modify",
      "old_id": "1956f9150668ff2c9f24d5559db2adc489082df1",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/system.c",
      "new_id": "a201cec1401b7827115db0557694e4bee96c43ad",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/system.c"
    },
    {
      "type": "modify",
      "old_id": "297ca72a0bc0a99da7f952f497a61f3cbaa7870a",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/system.h",
      "new_id": "a2ec00f90f1f1c24db4e0bba2d303c4fa76dfe94",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/system.h"
    },
    {
      "type": "modify",
      "old_id": "dc5947feff6dcfec1304222b27de3ade52af410f",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/util/BUILD.bazel",
      "new_id": "86249fd5763b5a8d33ad03b767dc14acd482717a",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/util/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "e9bcf70d68aab8f1df1ef667d8c4801c4fcaa631",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/util/CMakeLists.txt",
      "new_id": "cde683719d46023ded4b755a41bad322388f4bb7",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/util/CMakeLists.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "68464f18bc136e9e59b7d768bbe6be60c4fe482c",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/util/device_clock.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b98a765a3c4aaa8358823117c4b515642ec62a48",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/util/device_clock.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f96b3aa818303cf67b373c252b7139a14d5ebc05",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/util/device_clock_test.cc"
    },
    {
      "type": "modify",
      "old_id": "8e79330319f463175c8b2f44eb007930fafcf870",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/util/kfd.c",
      "new_id": "9b1af7a4beb69368e5fb724b7cda06034ad085b1",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/util/kfd.c"
    },
    {
      "type": "modify",
      "old_id": "cfabbf32c0c86ed803e4d9c0feb4bbcec74cf2ca",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/util/kfd.h",
      "new_id": "416e637510b9f19c9a7b97ea5981e17e81372adc",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/util/kfd.h"
    },
    {
      "type": "modify",
      "old_id": "2afdd98f6788a7f7c4f408f48e38d107f040b268",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/util/kfd_test.cc",
      "new_id": "7f87f1f6e0207157ea597bcff1a929b43ebc4966",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/util/kfd_test.cc"
    }
  ]
}
