Skip to content

Overlapping 'X' events in JSON traces do not work #4280

@zjjott

Description

@zjjott

minimum trace json:

{
  "schemaVersion": 1,
  "traceEvents": [
    {
    "ph": "X", "cat": "kernel", "name": "A", "pid": 0, "tid": 7,
    "ts": 3, "dur": 3.776
  },
  {
    "ph": "X", "cat": "kernel", "name": "B", "pid": 0, "tid": 7,                                                           
    "ts": 5, "dur": 2
  }
]
}

when the kernel B begin before 3+3.766, it will not be show on perfetto

Image

and also can't using SQL to select it

I have test on chrome://tracing ,it can be show correctly

Image

is there something config to show this two kernel?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions