)]}'
{
  "commit": "7b2f44a616da641300a026ceb20eff59389e88a8",
  "tree": "d8c174fd397905f539975096c7906c5303b366ac",
  "parents": [
    "8103b037a673650ce78998a0fb24273961d0b177"
  ],
  "author": {
    "name": "Kirill Timofeev",
    "email": "ktimofeev@google.com",
    "time": "Wed Dec 17 15:53:48 2025 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Dec 17 15:53:48 2025 +0000"
  },
  "message": "perfetto_cmd: don\u0027t delete not empty `write_into_file` trace on error. (#4005)\n\nThis bug happens because the `bytes_written_` field was not updated\nwhen the `perfetto_cmd` exits with an error.\nTo prevent such bugs in the future, we extract the logic to a separate\nmethod that should be called to get the the count of bytes written.\n\nThis function is called only at the end, when all the data is written so\nthere is no need to do something smarter than `fseek`+`ftell`.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "44fdc000819b017a384acb2bc0b1296274ac42a6",
      "old_mode": 33188,
      "old_path": "src/perfetto_cmd/perfetto_cmd.cc",
      "new_id": "94eef06a43997415fe42aaaf6bbdca87dc71feeb",
      "new_mode": 33188,
      "new_path": "src/perfetto_cmd/perfetto_cmd.cc"
    },
    {
      "type": "modify",
      "old_id": "6681c59ecf1804bb42a3170cfdade44512a182d9",
      "old_mode": 33188,
      "old_path": "src/perfetto_cmd/perfetto_cmd.h",
      "new_id": "3d8993fe3a2882037a0f02f0036c48d8ba79f08e",
      "new_mode": 33188,
      "new_path": "src/perfetto_cmd/perfetto_cmd.h"
    },
    {
      "type": "modify",
      "old_id": "154ae3619e5f3bd1d8302d337578dc9b7334e83f",
      "old_mode": 33188,
      "old_path": "src/perfetto_cmd/perfetto_cmd_android.cc",
      "new_id": "433f0f40e435b1f04c7825e508222a53eb9f3b40",
      "new_mode": 33188,
      "new_path": "src/perfetto_cmd/perfetto_cmd_android.cc"
    },
    {
      "type": "modify",
      "old_id": "cce59d2aa0d625ee955567cb6746437da7a01bfe",
      "old_mode": 33188,
      "old_path": "test/cmdline_integrationtest.cc",
      "new_id": "4d4f49cc721f62da4cad9eb2b609e9ddd60b2ded",
      "new_mode": 33188,
      "new_path": "test/cmdline_integrationtest.cc"
    }
  ]
}
