Question: What is EpochTs? How is it different from epochTS and PMU.EpochTS? I hope this answers your question partially at least.īut I am under the impression more design work can help. If you have questions on this, reach out to us. On the front end side, this involves polling the back-end to see what the “safe” range to fetch is, and partially updating the views. After, you would need to update the views accordingly. See CTFTraceGrowingStreamTest as an example of how it could be done. On the server side, you would need to make the trace parser handle “live” data. Assuming you pre-defined all your event types, as I detailed earlier, a polling action would probably be your best bet. I STRONGLY recommend not supporting new even declarations, this will make your job more complex as you will need to update the trace server parsers even more. Now again, you will face many “interesting” usability issues, but in this model, you have more levers to control in advance. Basically you need to define when the live reading has ended (not supported really) and then stop the trace rather than stopping when we reach the end of file. If you want to do live trace reading, the trace compass server can handle it partially already. Can you do this outside of trace compass/theia, a simple script can generate the trace then it can be read post-mortem. Let’s say it’s streaming over the network. Or do you want to read the trace live? this is what many people think of when they see the word streaming. sending the trace over the network in chunks? I would like to ask a simple question before going further.Īre you streaming: i.e. It has many correct words, I disagree with the order of the words though. We would love to work with you on this, please don’t hesitate to follow up. With Linux Kernel traces, the amount of data will be huge (GB/S) so performance enhancements on the TSP/Frontend are a must. Then you query the backend filter, when the data changes, send a full query to update all the views. One major issue we faced also is the amount of data to process fills up the network.Ī mechanism I can see working, in the medium term is to send a filter to the back-end. Also, we would need to support full redraws on regular intervals. This would lean into the realm of oscilloscopes. What is needed, in my opinion is to have a triggering mechanism to update the display, which is not available yet. ![]() If you are looking at x-y plots (line charts/bar charts/scatter charts) the data is also very difficult to follow. When displaying a Gantt chart with nanosecond resolution, updating it every second or so is bad. ![]() Trace Compass does not support streaming because we tried it and the results were user-hostile. I would like to detail some issues with streaming explaining why trace compass doesn’t support streaming as a standard workflow first, then we I will tell you the easy way to do it.
0 Comments
Leave a Reply. |