)]}'
{
  "commit": "27fd17a4d484c402cfcecb44ddda7ca7aa83aab4",
  "tree": "c2ed26e713c0cc95f3f8d87e82f0e038c41d5053",
  "parents": [
    "825b19d739c7af5597df582faa7cb68b945c3eb4"
  ],
  "author": {
    "name": "Michael Shen",
    "email": "gpgpgp@google.com",
    "time": "Fri Sep 08 12:20:08 2023 +0000"
  },
  "committer": {
    "name": "Michael Shen",
    "email": "gpgpgp@google.com",
    "time": "Sat Sep 23 08:36:30 2023 +0000"
  },
  "message": "dbus_handler: Get previous data when not rebooting\n\nThe reboot data will be store as \"previous\" reboot data once the current\nreboot process is done.\nSo for the object that is not rebooting, `getCheckpointList` and\n`getAdditionalDurations` function should return previous reboot data\nsince current reboot data will be empty.\n\nTested:\n```\n\\# Before\nbmc:~# busctl --verbose call \\\ncom.google.gbmc.boot_time_monitor \\\n/xyz/openbmc_project/time/boot/bmc \\\nxyz.openbmc_project.Time.Boot.Duration \\\nGetAdditionalDurations\nMESSAGE \"a(sx)\" {\n        ARRAY \"(sx)\" {\n        };\n};\n\n\\#After\nbmc:~# busctl --verbose call \\\ncom.google.gbmc.boot_time_monitor \\\n/xyz/openbmc_project/time/boot/bmc \\\nxyz.openbmc_project.Time.Boot.Duration \\\nGetAdditionalDurations\nMESSAGE \"a(sx)\" {\n        ARRAY \"(sx)\" {\n                STRUCT \"sx\" {\n                        STRING \"Firmware\";\n                        INT64 0;\n                };\n                STRUCT \"sx\" {\n                        STRING \"Loader\";\n                        INT64 0;\n                };\n                STRUCT \"sx\" {\n                        STRING \"Kernel\";\n                        INT64 6125;\n                };\n                STRUCT \"sx\" {\n                        STRING \"InitRD\";\n                        INT64 0;\n                };\n                STRUCT \"sx\" {\n                        STRING \"Userspace\";\n                        INT64 371105;\n                };\n        };\n};\n```\n\nGoogle-Bug-Id: 296530445\nChange-Id: I753c49fab562ac7b8d10df55b1be6741a3dac921\nSigned-off-by: Michael Shen \u003cgpgpgp@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8dcf28174f16d38d7176b91ffe74fba5cfefabad",
      "old_mode": 33188,
      "old_path": "src/dbus_handler.cpp",
      "new_id": "5927cb16649aa7c18bc7e1f463c6d5e1921dca74",
      "new_mode": 33188,
      "new_path": "src/dbus_handler.cpp"
    }
  ]
}
