)]}'
{
  "commit": "9ac772f93dfc4b788d09ebf05bf187a61bd17c42",
  "tree": "4e6e7e1c94a699ac8c2c7aaac524a6b2d37a9824",
  "parents": [
    "40ab0ab3ab621af63c6301312462bab7a974d75a"
  ],
  "author": {
    "name": "Samuel Wu",
    "email": "wusamuel@google.com",
    "time": "Mon Apr 20 12:15:17 2026 -0700"
  },
  "committer": {
    "name": "Samuel Wu",
    "email": "wusamuel@google.com",
    "time": "Tue Apr 28 17:37:36 2026 -0700"
  },
  "message": "traced: Support named PMU events in linux.perf\n\nThis change allows users to specify hardware events by their name (e.g.,\n\u0027l3d_cache\u0027) instead of raw config IDs. The profiler resolves these\nnames at runtime by reading from sysfs. To ensure safety, it also reads\nthe PMU\u0027s format/event file to verify the event variable maps directly\nto the lowest bits of the config field.\n\nExample Perfetto config:\n\nOld:\nraw_event {\n  pmu_name: \"arm_dsu_0\"\n  config: 43\n}\n\nNew:\nraw_event {\n  pmu_name: \"arm_dsu_0\"\n  event_name: \"l3d_cache\"\n}\n\nBug: 501821381\nTest: manual test\nSigned-off-by: Samuel Wu \u003cwusamuel@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4874d31ecd5e5568541433a7d8080bf60320bd8c",
      "old_mode": 33188,
      "old_path": "protos/perfetto/common/perf_events.proto",
      "new_id": "9534e79e476a9372575a0469cebd2cac5cde39bb",
      "new_mode": 33188,
      "new_path": "protos/perfetto/common/perf_events.proto"
    },
    {
      "type": "modify",
      "old_id": "f0d95961ee920fae712d29a077c2448d4637d448",
      "old_mode": 33188,
      "old_path": "src/profiling/perf/event_config.cc",
      "new_id": "2728960a8aa5f8beca1e42a2100c375158e8ea1d",
      "new_mode": 33188,
      "new_path": "src/profiling/perf/event_config.cc"
    },
    {
      "type": "modify",
      "old_id": "e27abb20a99489276a988c451e18bf1a865a52c3",
      "old_mode": 33188,
      "old_path": "src/profiling/perf/event_config.h",
      "new_id": "691e4df3565a2d403f6aabedad2f67b95ba28996",
      "new_mode": 33188,
      "new_path": "src/profiling/perf/event_config.h"
    },
    {
      "type": "modify",
      "old_id": "263b2b4b71e19109a52f3aa9c271816890c8bafc",
      "old_mode": 33188,
      "old_path": "src/profiling/perf/event_config_unittest.cc",
      "new_id": "f5da3db0bf03e7001a46065051ec35c01d1152c8",
      "new_mode": 33188,
      "new_path": "src/profiling/perf/event_config_unittest.cc"
    }
  ]
}
