)]}'
{
  "commit": "baeef85b1d5f1f1665329dbf8dc190d9b7bcbdc4",
  "tree": "de347fc3a552292090819340a7ae13c389b983f3",
  "parents": [
    "37f9cf25d068b999eee67782bfbbbfe853bf0faa"
  ],
  "author": {
    "name": "Hoang Thuan Pham",
    "email": "hoang.pham@calian.ca",
    "time": "Fri Aug 04 16:28:26 2023 -0400"
  },
  "committer": {
    "name": "Matthew Khouzam",
    "email": "matthew.khouzam@ericsson.com",
    "time": "Tue Aug 15 13:03:18 2023 -0400"
  },
  "message": "linux: Move SWSLatency outputs to Trace Compass core\n\nThis commit moves the following outputs of the SWSLatency analysis from\nthe incubator to Trace Compass core:\n\n[1] Sched Wakeup/Switch Latencies output: A re-use of the\nSegmentStoreTableView provided by Trace Compass. Each segment is the\ntime difference between a sched_wakeup event and a sched_switch event of\nthe same process, identified by the same TID.\n\n[2] Sched Wakeup/Switch Latency vs Time view: which uses the existing\nAbstractSegmentStoreScatterChartTreeViewer2 for its left side and the\nnew SWSLatencyScatterGraphViewer for its right side. This view is a\nscatter chart, with each point showing the sched_wakeup/sched_switch\nlatency vs the time when the latency happens.\n\n[3] Sched Wakeup/Switch Statistics view: A re-use of the\nSegmentStoreStatisticsView provided by Trace Compass. This view displays\ndifferent statistics relating to the SWSLatency analysis, with each\nlevel corresponding to a process.\n\n[4] Sched Wakeup/Switch Density view: which uses the existing\nSegmentStoreTableViewer for its left side and the new\nSWSLatencyDensityViewer for its right side. This density view shows the\nnumber of latencies that corresponds to a specific duration.\n\nManual testing is required to make sure the outputs provided by the\nanalysis are consistent and to ensure that they are exposed to the users\nin the UI of Trace Compass. There are no unit tests for the SWSLatency\noutputs. To test the outputs:\n\n[1] Open a kernel trace that contains sched_wakeup and sched_switch\nevents. Make sure that all of the 4 outputs are visible under Sched\nWakeup Switch analysis.\n\n[2] Sched Wakeup/Switch Latencies: Make sure there is a duration column.\nWhen clicked on an entry, a group of consecutive rows should be\nhighlighted in the trace tab. The first event (in the group) should be a\nsched_wakeup event and the last one should be a sched_switch event. The\ntid of the sched_wakeup event should be the same as the next_tid of the\nsched_switch event. The difference of the time stamp of the first and\nlast event should be the same as the value as the duration column.\n\n[3] For the rest of the views, cross check to make sure that the data\ndisplayed make sense. For example, pick an event type, such as ls, and\nmake sure that the event count in the Sched Wakeup/Switch Statistics\nview is the same as the number of dots displayed in the Sched\nWakeup/Switch Latency vs Time view.\n\nChange-Id: Ibdd3ed5f2260f7638e1c581e6bf1ad3d22083aa6\nSigned-off-by: Hoang Thuan Pham \u003choang.pham@calian.ca\u003e\nReviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/203535\nReviewed-by: Marco Miller \u003cmarco.miller@ericsson.com\u003e\nReviewed-by: Matthew Khouzam \u003cmatthew.khouzam@ericsson.com\u003e\nTested-by: Trace Compass Bot \u003ctracecompass-bot@eclipse.org\u003e\nTested-by: Matthew Khouzam \u003cmatthew.khouzam@ericsson.com\u003e\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e3c9e1bd16f839670b81e97a8ceb64d14dc11c1a",
      "new_mode": 33188,
      "new_path": "analysis/org.eclipse.tracecompass.analysis.os.linux.ui/icons/obj16/density.png"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "723b8da96754a4058a11eff7496684b87cd93747",
      "new_mode": 33188,
      "new_path": "analysis/org.eclipse.tracecompass.analysis.os.linux.ui/icons/obj16/latency.png"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c375602f577c6b842668db1e2417606fe4534c2c",
      "new_mode": 33188,
      "new_path": "analysis/org.eclipse.tracecompass.analysis.os.linux.ui/icons/obj16/scatter.png"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "d11c996e570dfe06518631ba3f0f1893a21f88d1",
      "new_mode": 33188,
      "new_path": "analysis/org.eclipse.tracecompass.analysis.os.linux.ui/icons/obj16/statistics_view.gif"
    },
    {
      "type": "modify",
      "old_id": "e8d352af7f7db86b371dab305599aee8e61b3a66",
      "old_mode": 33188,
      "old_path": "analysis/org.eclipse.tracecompass.analysis.os.linux.ui/plugin.properties",
      "new_id": "71526e900ffaaefa1b891f21e0a8565573ad3df9",
      "new_mode": 33188,
      "new_path": "analysis/org.eclipse.tracecompass.analysis.os.linux.ui/plugin.properties"
    },
    {
      "type": "modify",
      "old_id": "39efce7a8647be2840365614a8b0b1f1922e4bf3",
      "old_mode": 33188,
      "old_path": "analysis/org.eclipse.tracecompass.analysis.os.linux.ui/plugin.xml",
      "new_id": "d0d4fd010272803f3edb01a52f4ef48abe11e0f3",
      "new_mode": 33188,
      "new_path": "analysis/org.eclipse.tracecompass.analysis.os.linux.ui/plugin.xml"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5d1045442fb7597284a913ab76e1bb7b73d9fada",
      "new_mode": 33188,
      "new_path": "analysis/org.eclipse.tracecompass.analysis.os.linux.ui/src/org/eclipse/tracecompass/internal/analysis/os/linux/ui/views/swslatency/Messages.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "94b26aaf9137436819e321ad3bddd13b8ba667d2",
      "new_mode": 33188,
      "new_path": "analysis/org.eclipse.tracecompass.analysis.os.linux.ui/src/org/eclipse/tracecompass/internal/analysis/os/linux/ui/views/swslatency/SWSDensityViewer.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c2839f91a81db56e3f911960edf1214cea800200",
      "new_mode": 33188,
      "new_path": "analysis/org.eclipse.tracecompass.analysis.os.linux.ui/src/org/eclipse/tracecompass/internal/analysis/os/linux/ui/views/swslatency/SWSLatencyDensityView.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2acd8d57896d8fe3d7fadaee7f6476805f9bc017",
      "new_mode": 33188,
      "new_path": "analysis/org.eclipse.tracecompass.analysis.os.linux.ui/src/org/eclipse/tracecompass/internal/analysis/os/linux/ui/views/swslatency/SWSLatencyScatterGraphViewer.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8f7bea777e9057d36c480ef5687c3d551e435718",
      "new_mode": 33188,
      "new_path": "analysis/org.eclipse.tracecompass.analysis.os.linux.ui/src/org/eclipse/tracecompass/internal/analysis/os/linux/ui/views/swslatency/SWSLatencyScatterView.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "1123b067bdd9d28f7f3cce8d03b1477a3e9d94f1",
      "new_mode": 33188,
      "new_path": "analysis/org.eclipse.tracecompass.analysis.os.linux.ui/src/org/eclipse/tracecompass/internal/analysis/os/linux/ui/views/swslatency/messages.properties"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "7d47c115e2d11ce33c704f3056f5e3dee46edfe7",
      "new_mode": 33188,
      "new_path": "analysis/org.eclipse.tracecompass.analysis.os.linux.ui/src/org/eclipse/tracecompass/internal/analysis/os/linux/ui/views/swslatency/package-info.java"
    }
  ]
}
