)]}'
{
  "commit": "f3a281f5aa7904705b6362407b3ff2ced48b76e4",
  "tree": "5485bedad4b0699c84dc7fa9b17d11ce9ca02e8d",
  "parents": [
    "f1ce382d45ed4cbe2b155f8a0b0329ec0bfd1946"
  ],
  "author": {
    "name": "Michael Shen",
    "email": "gpgpgp@google.com",
    "time": "Thu Sep 07 08:31:55 2023 +0000"
  },
  "committer": {
    "name": "Michael Shen",
    "email": "gpgpgp@google.com",
    "time": "Sat Sep 23 08:32:00 2023 +0000"
  },
  "message": "bmc_monitor_app: Adding systemd boot process duration\n\nExpose BMC bootup process durations.\nThis bootup process is defined by systemd[1] and has been included in\nRedfish schema[2].\nBasically the implementation is copied from systemd-analyze[3].\n\nRef:\n[1] https://www.freedesktop.org/software/systemd/man/bootup.html\n[2] https://www.dmtf.org/sites/default/files/standards/documents/DSP0268_2023.1.pdf\n    (6.65 ManagerDiagnosticData 1.2.0)\n[3] https://github.com/systemd/systemd/blob/82b7bf8c1c8c6ded6f56b43998c803843a3b944b/src/analyze/analyze-time-data.c\n\nTested:\n```\n\\# Check the duration calculated by boot-time-monitor\nbmc:~# cat /usr/share/boot_time_monitor/bmc_durations.csv.completed\nFirmware,0\nLoader,0\nKernel,6125\nInitRD,0\nUserspace,371105\n\n\\# Manual install systemd-analyze to ensure the result is correct.\nbmc:~# systemd-analyze\nStartup finished in 6.125s (kernel) + 6min 11.105s (userspace) \u003d 6min 17.231s\nmulti-user.target reached after 2min 48.715s in userspace.\n```\n\nGoogle-Bug-Id: 296530445\nChange-Id: Ifa632a920e4d23085f25e6a38e00475218e907c8\nSigned-off-by: Michael Shen \u003cgpgpgp@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "17fbe43a0288afe2dcc6dcd14968c13657357252",
      "old_mode": 33188,
      "old_path": "include/bmc_monitor_app.hpp",
      "new_id": "3a0dc09dd8ca2ddbe9640133a07a1ff077ebf564",
      "new_mode": 33188,
      "new_path": "include/bmc_monitor_app.hpp"
    },
    {
      "type": "modify",
      "old_id": "bf1eb9ea4a04a0785d9ef9b831f79127ad09f887",
      "old_mode": 33188,
      "old_path": "src/bmc_monitor_app.cpp",
      "new_id": "96e0bb0b6ac6813c72b0e2af2f07867c3c85c507",
      "new_mode": 33188,
      "new_path": "src/bmc_monitor_app.cpp"
    },
    {
      "type": "modify",
      "old_id": "1f2e8ebc95042f601fa5da2ce095ec2c7ace8f12",
      "old_mode": 33188,
      "old_path": "src/main.cpp",
      "new_id": "63021d931589498e8f766d44fbd137f0f5400e9f",
      "new_mode": 33188,
      "new_path": "src/main.cpp"
    }
  ]
}
