Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

process_sort_index support or alternative suggestions #764

Open
nikhilgdev opened this issue Apr 12, 2024 · 1 comment
Open

process_sort_index support or alternative suggestions #764

nikhilgdev opened this issue Apr 12, 2024 · 1 comment

Comments

@nikhilgdev
Copy link

Hi,
My team is working on a project that generates a flow of timed events in a system. I am using the trace event format as described here: https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/preview.
Each of these events is described as a process in the JSON file.

Unfortunately, perfetto UI does not order these processes by start time. It seems to order the processes by 'eventfulness' instead.

As a backup, I figured I would use the process_sort_index metadata item to re-order the processes as needed, however, perfetto UI does not respect that.

I see past issues where implementation of process_sort_index has been shot down. Is there an alternative you could suggest for this? Needing to order the processes chronologically is (I would imagine) a need for many projects adopting this UI.

@LalitMaganti
Copy link
Collaborator

I don't think there's any suggestion for now. Having arbitrary sorts at the UI level might be something supported at some point but is not a priority.

Our priority is first features for native Perfetto traces (especially Android system tracing). If our project is used in other ways, we're very happy with that but it's not our focus.

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

No branches or pull requests

2 participants