)]}'
{
  "commit": "4ff32df63d983ff0022524c360d1677c440155bd",
  "tree": "b9ef12caddf823fd9690e770c816fa8a81744383",
  "parents": [
    "207bb3eb405653a9bd53fe9914fd25d2384af989"
  ],
  "author": {
    "name": "Primiano Tucci",
    "email": "primiano@google.com",
    "time": "Thu Jul 27 16:33:34 2023 +0100"
  },
  "committer": {
    "name": "Chinglin Yu",
    "email": "chinglinyu@google.com",
    "time": "Fri Jul 28 14:41:22 2023 +0800"
  },
  "message": "socket: Introduce GetSockAddr() and improve test quality\n\nAdds a new method to UnixSocket and UnixSocketRaw which wraps\ngetsockname() and returns a host:port string for the current socket.\nThis is needed by aosp/2627899 and removes our fragile random port\nallocation code for tests, which can be replaced by a\nBind() on port 0.\n\nTest: sudo modprobe vsock-loopback \u0026\u0026 perfetto_unittests --gtest_filter\u003dUnixSocketTest.GetSockAddr*\nBug: 284258446\nChange-Id: Ia8b2d22e13f1ff872055983bc10eab6abe794bd9\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b51db503a141f824d6686083280120385b8809e7",
      "old_mode": 33188,
      "old_path": "include/perfetto/ext/base/unix_socket.h",
      "new_id": "df957938fa59f0ed9a2f178734ae8edd9c4b36a1",
      "new_mode": 33188,
      "new_path": "include/perfetto/ext/base/unix_socket.h"
    },
    {
      "type": "modify",
      "old_id": "50af740c81b10ce388f16d8535b7e33ea79b55ae",
      "old_mode": 33188,
      "old_path": "src/base/unix_socket.cc",
      "new_id": "5708be3ed0762b1256731a23351d3a142745c669",
      "new_mode": 33188,
      "new_path": "src/base/unix_socket.cc"
    },
    {
      "type": "modify",
      "old_id": "6ed65d5fe6014f5f1b73ae32990740fddcf4a08c",
      "old_mode": 33188,
      "old_path": "src/base/unix_socket_unittest.cc",
      "new_id": "ab620213de01ac934279643f73c9d7426f9f4501",
      "new_mode": 33188,
      "new_path": "src/base/unix_socket_unittest.cc"
    }
  ]
}
