Help, how should I sort and customize the name? At present, it seems that the document has not taken effect? The traceEvents type I set to M is not effective #956
-
Help me, it's very good to rewrite such a good tool, but I encountered some problems while using this tool, roughly as follows
Please find attached my screenshot below Looking forward to someone replying to me,thanks this is my json |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This has been discussed many times before. If you search existing issues, you will see it at #555, #764 and #378 The TDLR is that we do not support the process_sort_index of the JSON spec and there is no workaround in the JSON format. If you were to emit the native Perfetto format, we added support for custom sort orders for non-process and thread based data as described at https://perfetto.dev/docs/reference/synthetic-track-event#track-sorting-order
All of those numbers correspond to the tid/pid of the fake threads/processes you are emitting in the JSON. There is currently no option to not show them but it would be possible for someone to write a patch for this. It's pretty easy I think to have an option to not show the information: contributions welcome. Again if you were emitting the Perfetto native format, you don't need to emit fake threads/processes, you can have arbitrary grouping and the numbers will not be shown in that case.
Once again, this is a part of the JSON format which is not ingested by Perfetto. There is an existing issue for this at #595 |
Beta Was this translation helpful? Give feedback.
This has been discussed many times before. If you search existing issues, you will see it at #555, #764 and #378
The TDLR is that we do not support the process_sort_index of the JSON spec and there is no workaround in the JSON format. If you were to emit the native Perfetto format, we added support for custom sort orders for non-process and thread based data as described at https://perfetto.dev/docs/reference/synthetic-track-event#track-sorting-order