)]}'
{
  "commit": "67ee8a8ef9fe3c4f8eacd3d4246ceb43a7289bf1",
  "tree": "27cd3b06bfca4b3e61678488038a50230000fb6c",
  "parents": [
    "2ddb8df2ef22514f1bf91fe73b99877d19b2a964"
  ],
  "author": {
    "name": "Mark Salyzyn",
    "email": "salyzyn@google.com",
    "time": "Thu Apr 18 12:41:29 2019 -0700"
  },
  "committer": {
    "name": "Mark Salyzyn",
    "email": "salyzyn@google.com",
    "time": "Tue Apr 23 07:14:44 2019 -0700"
  },
  "message": "bootstat: Allow regex matches for boot reasons\n\nIf the matching string contains a [, \\ or *, then it is also checked\nwith a regex match.  Exact match is always tried firsts.  If we do\nnot find an exact string match, switch to iterate through the entire\nlist for regex strings to find a match.\n\nThis allows us to scale with details without consuming a large\nnumber of enums, permitting details that we do not necessarily want\nresolution on to propagate to TRON.  The hierarchical nature of the\nboot reason \u003creason\u003e,\u003csubreason\u003e,\u003cdetail\u003e... can cause scenarios\nwhere the \u003cdetail\u003e does not matter to TRON, but does matter to\nbugreport collection.\n\nAdd a bootstat --boot_reason_enum function to expose and test the\nkBootReasonMap matchihg algorithm.\n\nAdd a kBootReasonMap test that exhaustively tests all built-in\nentries, and an example of one regex entry.  New regex entries added\nto bootstat.cpp will need a series of exact match examples added into\nfilter_kBootReasonMap() function.\n\nTest: boot_reason_test.sh kBootReasonMap (or all tests)\nBug: 116838876\nBug: 128929506\nChange-Id: I3f7b5de22f99195b7ce99672a212174365960b3f\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "71d3ecbeb082b57f7851128f2383cc222b54f742",
      "old_mode": 33261,
      "old_path": "bootstat/boot_reason_test.sh",
      "new_id": "cb09433d1c8fc50294e4011e8eaaa0c780e6d093",
      "new_mode": 33261,
      "new_path": "bootstat/boot_reason_test.sh"
    },
    {
      "type": "modify",
      "old_id": "1ce0ec4c29d42ae72e9a1b8fc86657d8e636d474",
      "old_mode": 33188,
      "old_path": "bootstat/bootstat.cpp",
      "new_id": "617ea4fb8e79ecbe1af04af39e066de060cca72f",
      "new_mode": 33188,
      "new_path": "bootstat/bootstat.cpp"
    }
  ]
}
