Skip to content

Conversation

@stevegolton
Copy link
Member

@stevegolton stevegolton commented Dec 10, 2025

Currently searching only works on tracks with the 'SLICE_TRACK_KIND' kind tag, which was required for the previous search mechanism. Now, any tracks can be searched as long as they have name / args_set_id fields.

This patch replaces the SLICE_TRACK_KIND with two new kinds tags:

  • SLICE_TRACK: Indicates that this track represents slice like events where ts, dur, name and args_set_id mean what you'd expect, but the ids do not necessarily correspond to ids in the slice table.
  • SLICE_TABLE_TRACK: Subset of SLICE_TRACK where ids correspond to the relevant slices in the slice table.

All tracks that used to have kind SLICE_TRACK_KIND now have both ['SLICE_TRACK', and 'SLICE_TABLE_TRACK'].
Debug tracks now have only 'SLICE_TRACK', so search can now work on them.

Currently searching only works on tracks with the 'SLICE_TRACK_KIND'
kind tag, which was required for the previous search mechanism. Now,
any tracks can be searched as long as they have name / args_set_id
fields.

This patch replaces the SLICE_TRACK_KIND with two new kinds tags:
- SLICE_TRACK: Indicates that this track represents slice like events
  where ts, dur, name and args_set_id mean what you'd expect, but the
  ids do not necessarily correspond to ids in the slice table.
- SLICE_TABLE_TRACK: Subset of SLICE_TRACK where ids correspond to
  the relevant slices in the slice table.

Change-Id: I174695fedf1f4e353cbf8532cb6d9efdb5261f71
@stevegolton stevegolton requested a review from aMayzner December 10, 2025 12:22
@stevegolton stevegolton requested a review from a team as a code owner December 10, 2025 12:22
@github-actions
Copy link

🎨 Perfetto UI Build

✅ UI build is ready: https://storage.googleapis.com/perfetto-ci-artifacts/gh-20098459597-1-ui/ui/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants