)]}'
{
  "commit": "eb6738349783f2eeee4df9fecd18bbb5e9c46a84",
  "tree": "a0a6815c8f54119b92a1803b8cfb782e9b0faafd",
  "parents": [
    "1948c54cde9eae96f84df0f306ca3c39de30d265"
  ],
  "author": {
    "name": "Michael Shen",
    "email": "gpgpgp@google.com",
    "time": "Wed Sep 06 08:47:49 2023 +0000"
  },
  "committer": {
    "name": "Michael Shen",
    "email": "gpgpgp@google.com",
    "time": "Sat Sep 23 07:24:01 2023 +0000"
  },
  "message": "bmc_monitor_app: Adding BMC boot time monitor instance\n\nAdding boot time monitor instance for BMC. The initialization is mostly\nthe same as host besides it doesn\u0027t have event to be matched.\n\nTested:\n```\n\\# DBus interfaces are added\nbmc:~# busctl introspect \\\ncom.google.gbmc.boot_time_monitor \\\n/xyz/openbmc_project/time/boot/bmc\n......\nxyz.openbmc_project.Time.Boot.Checkpoint interface -          -             -\n.GetCheckpointList                       method    -          a(sxx)        -\n.RebootComplete                          method    -          -             -\n.SetCheckpoint                           method    sxx        -             -\nxyz.openbmc_project.Time.Boot.Duration   interface -          -             -\n.GetAdditionalDurations                  method    -          a(sx)         -\n.SetDuration                             method    sx         -             -\nxyz.openbmc_project.Time.Boot.Statistic  interface -          -             -\n.IsRebooting                             property  b          false         emits-change\n\n\\# Try to call `SetCheckpoint`\nbmc:~# busctl call \\\ncom.google.gbmc.boot_time_monitor \\\n/xyz/openbmc_project/time/boot/bmc \\\nxyz.openbmc_project.Time.Boot.Checkpoint \\\nSetCheckpoint sxx \"bmc_checkpoint1\" 0 0\n\n\\# Check if it set correctly\nbmc:~# busctl --verbose call \\\ncom.google.gbmc.boot_time_monitor \\\n/xyz/openbmc_project/time/boot/bmc \\\nxyz.openbmc_project.Time.Boot.Checkpoint \\\nGetCheckpointList\nMESSAGE \"a(sxx)\" {\n        ARRAY \"(sxx)\" {\n                STRUCT \"sxx\" {\n                        STRING \"bmc_checkpoint1\";\n                        INT64 1693991949237;\n                        INT64 76140790;\n                };\n        };\n};\n```\n\nGoogle-Bug-Id: 296530445\nChange-Id: Ifc556d3b1950c7fd9ff533b1d1c7525e89af80e6\nSigned-off-by: Michael Shen \u003cgpgpgp@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "17fbe43a0288afe2dcc6dcd14968c13657357252",
      "new_mode": 33188,
      "new_path": "include/bmc_monitor_app.hpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "bf1eb9ea4a04a0785d9ef9b831f79127ad09f887",
      "new_mode": 33188,
      "new_path": "src/bmc_monitor_app.cpp"
    },
    {
      "type": "modify",
      "old_id": "2a0ebadf034d9f1415423b829d1dee8f2ea12980",
      "old_mode": 33188,
      "old_path": "src/main.cpp",
      "new_id": "1f2e8ebc95042f601fa5da2ce095ec2c7ace8f12",
      "new_mode": 33188,
      "new_path": "src/main.cpp"
    },
    {
      "type": "modify",
      "old_id": "d9983aee39492e44847e878445d266f1a01b5607",
      "old_mode": 33188,
      "old_path": "src/meson.build",
      "new_id": "3e8c7dc278947d9da1dec06ba991ea232d6dba07",
      "new_mode": 33188,
      "new_path": "src/meson.build"
    }
  ]
}
