)]}'
{
  "commit": "f76a9135e27abf42cfa9805235faae263512c2f8",
  "tree": "f15cfe04edb059fa3914ddbf6787dbdea27d95a8",
  "parents": [
    "ec0d5d3de9397bad9c3400a2f9a933e97f837f03"
  ],
  "author": {
    "name": "Matthew Khouzam",
    "email": "matthew.khouzam@ericsson.com",
    "time": "Wed Jun 21 21:46:02 2023 -0400"
  },
  "committer": {
    "name": "Matthew Khouzam",
    "email": "matthew.khouzam@ericsson.com",
    "time": "Thu Sep 14 11:21:31 2023 -0400"
  },
  "message": "ctf: only flatten structures, not arrays\n\nThe goal of the patch is to handle fixed-length strings and\nhave them parse in a human and machine readable way.\n\nPrevious implementations would flatten arrays to something like:\nelement[0]\u003d\u0027H\u0027, element[1]\u003d\u0027e\u0027... etc..\n\nThis was done to accelerate the parsing of a trace. However, it\nleads to developers needing to reconstiture events. This patch\nchanges the way it is done to have an array as follows:\n\nelement \u003d \"Hello World!\" for an array of characters\nelement \u003d [1,2,3,4,5,6....] for an array for bytes\nelement \u003d [0x00, 0x01, 0x02....] for an array of hex bytes\n\nThe changes were needed as the array formatting was never implemented\nas it was blocked by flattening of arrays.\n\n[Changed] Handle fixed length strings in CTF\n[Changed] Make event arrays output more \"JSON\"-like\n[Changed] Improve byte array.toString() (Hex and decimal)\n[Changed] CTF String fields will be formated surrounded by  \"\"\n\nChange-Id: I49c5e730cde6501732facd809d9282eec47a66f4\nSigned-off-by: Matthew Khouzam \u003cmatthew.khouzam@ericsson.com\u003e\nReviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/202665\nTested-by: Trace Compass Bot \u003ctracecompass-bot@eclipse.org\u003e\nTested-by: Patrick Tasse \u003cpatrick.tasse@gmail.com\u003e\nReviewed-by: Patrick Tasse \u003cpatrick.tasse@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8f037353b49c7db7d28bfbc38d40d5ca29f7f0eb",
      "old_mode": 33188,
      "old_path": "ctf/org.eclipse.tracecompass.ctf.core.tests/src/org/eclipse/tracecompass/ctf/core/tests/event/CTFEventFieldTest.java",
      "new_id": "f1d102a2dfa847388281c4d396990d526a9bc273",
      "new_mode": 33188,
      "new_path": "ctf/org.eclipse.tracecompass.ctf.core.tests/src/org/eclipse/tracecompass/ctf/core/tests/event/CTFEventFieldTest.java"
    },
    {
      "type": "modify",
      "old_id": "4600575a64ca041edf80ce8151bbb5aa4ab65ddf",
      "old_mode": 33188,
      "old_path": "ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/ctf/core/event/types/CompoundDeclaration.java",
      "new_id": "590c30150cd00c791d54a56a405da8c84e0e0c6a",
      "new_mode": 33188,
      "new_path": "ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/ctf/core/event/types/CompoundDeclaration.java"
    },
    {
      "type": "modify",
      "old_id": "3f43bf93a0eedb99a88cf8e3de9bec90a8a715d9",
      "old_mode": 33188,
      "old_path": "ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/event/types/ArrayDeclaration.java",
      "new_id": "86bd2a8c117570081282837645830237c649a43f",
      "new_mode": 33188,
      "new_path": "ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/event/types/ArrayDeclaration.java"
    },
    {
      "type": "modify",
      "old_id": "28ffa26de26dc4c6cf3f5b18585fabc789935bb9",
      "old_mode": 33188,
      "old_path": "ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/event/types/ArrayDefinition.java",
      "new_id": "3df431d1e89f4411e8f1ee146c3abbf2093f3d23",
      "new_mode": 33188,
      "new_path": "ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/event/types/ArrayDefinition.java"
    },
    {
      "type": "modify",
      "old_id": "39f667a3e34a85d8df479ee7c4b1d56731310c74",
      "old_mode": 33188,
      "old_path": "ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/event/types/ByteArrayDefinition.java",
      "new_id": "b00b4e2a379342563539731a5b05440e78fff67f",
      "new_mode": 33188,
      "new_path": "ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/event/types/ByteArrayDefinition.java"
    },
    {
      "type": "modify",
      "old_id": "74047e0efc1a94ca744ff75fa1b89300ed710a4d",
      "old_mode": 33188,
      "old_path": "ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/event/types/StructDeclarationFlattener.java",
      "new_id": "266efaa21f420a27ee2579a8c6fa36c05f81dbbf",
      "new_mode": 33188,
      "new_path": "ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/event/types/StructDeclarationFlattener.java"
    },
    {
      "type": "modify",
      "old_id": "ed1ec17977253b7e4881ad19e776970fd220d9c9",
      "old_mode": 33188,
      "old_path": "ctf/org.eclipse.tracecompass.tmf.ctf.core.tests/src/org/eclipse/tracecompass/tmf/ctf/core/tests/event/CtfTmfEventFieldTest.java",
      "new_id": "83b501d30a32378a9305d202dedc05de6809f29a",
      "new_mode": 33188,
      "new_path": "ctf/org.eclipse.tracecompass.tmf.ctf.core.tests/src/org/eclipse/tracecompass/tmf/ctf/core/tests/event/CtfTmfEventFieldTest.java"
    },
    {
      "type": "modify",
      "old_id": "6d54bc726b97b047d4312f00ccf65c1b17861cf7",
      "old_mode": 33188,
      "old_path": "ctf/org.eclipse.tracecompass.tmf.ctf.core/src/org/eclipse/tracecompass/tmf/ctf/core/event/CtfTmfEventField.java",
      "new_id": "d156b5079278a2782a81b0cb7feec8307ca7efa9",
      "new_mode": 33188,
      "new_path": "ctf/org.eclipse.tracecompass.tmf.ctf.core/src/org/eclipse/tracecompass/tmf/ctf/core/event/CtfTmfEventField.java"
    }
  ]
}
