)]}'
{
  "commit": "1bd035d80f7a92a8e694d4c1f75733d41775ed44",
  "tree": "d8ff6dee6f055029afc6b89772e8546a7f660f9f",
  "parents": [
    "c243406a695ca056a07ef4064b0f9feee7685320"
  ],
  "author": {
    "name": "Łukasz Plewa",
    "email": "lukasz.plewa@intel.com",
    "time": "Thu Nov 13 16:56:38 2025 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Nov 13 15:56:38 2025 +0000"
  },
  "message": "[offload] defer \"---\u003e olInit\" trace message (#167893)\n\nTracing requires liboffload to be initialized, so calling\nisTracingEnabled() before olInit always returns false. This caused the\nfirst trace log to look like:\n```\n-\u003e OL_SUCCESS\n```\ninstead of:\n```\n---\u003e olInit() -\u003e OL_SUCCESS\n```\nThis patch moves the pre-call trace print for olInit so it is emitted\nonly after initialization.\n\nIt would be possible to add extra logic to detect whether liboffload is\nalready initialized and only postpone the first pre-call print, but this\nwould add unnecessary complexity, especially since this is tablegen\ncode. The difference would matter only in the unlikely case of a crash\nduring a second olInit call.\n\n---------\n\nCo-authored-by: Joseph Huber \u003chuberjn@outlook.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4e42e4905b9937153799f3add3ec2f24a99ead03",
      "old_mode": 33188,
      "old_path": "offload/tools/offload-tblgen/EntryPointGen.cpp",
      "new_id": "4f76100ed2dc3ca31435a1cc0195cb3439669aa2",
      "new_mode": 33188,
      "new_path": "offload/tools/offload-tblgen/EntryPointGen.cpp"
    }
  ]
}
