Home > On-Demand Archives > Q&A Sessions >
Live Q&A - Using Visual Trace Diagnostics to Evaluate Linux User space and Kernel space Implementations
Mohammed Billoo - Percepio - Watch Now - EOC 2021 - Duration: 25:41
Hi, Johan from Percepio here. If you mean live trace streaming over a local network, that is indeed supported by Tracealyzer and LTTng. You need to use the LTTng relay daemon (relayd) and that can sometimes be a bottleneck, but it works.
Hi, thank you for your question! Tracealyzer by itself cannot be used for online real-time tracing. However, Percepio does offer a DevAlert service where traces are automatically uploaded to the cloud whenever a fault occurs in your system (where you can define a set of faults).
Thanks for this nice introduction! As I'm using Tracealyzer for nearly 3 years now I can confirm it's usefulness investigating how your software operates under different circumstances. But as each medal has two sides, tracing always adds additional runtime to your code. In my project we figured out where an how much tracing is beneficial and when does tracing overhead distort your system. In my opinion you can't get enough details out of you software (especially in complex systems) but you have always to pay a price for getting insights.
Do you have made any measurements regarding the overhead for user trace points on linux?
Thanks for your insight! I absolutely agree on the statement of paying a price for getting insights. I haven't made any measurements yet but will soon and expect to write a blog post about it. Keep an eye for it!
This seems to be very helpful for developers. How would you say that Tracealyzer timelines can be helfpful for higher level software testers?
Glad you found the talk useful. For a tester, I would say that you can use the Actor Instance Graph or the Custom Interval Graph to get a sense for the baseline performance when there are no regressions. As new releases are made, you could review these two graphs to identify any regressions. If new regressions are identified, you could send the trace to the developer for further debugging.
10:06:15 From Matt Liberty : I see that LTTng also has a GUI tool. What are the advantages of Tracealyzer? 10:10:30 From Iain Chalmers : At what point does LTTng become active? Only when I have an active capture running? i.e. will starting a session actively change the timing of my code or is it always there and running, and just dumping to /dev/null? 10:12:43 From Matt Liberty : Thank you! 10:13:14 From javi : To what extent does Tracealyzer influence the system that is being analyzed? is it appropriate for debugging tight timing applications? 10:16:48 From Iain Chalmers : OK thanks! 10:18:19 From javi : great, thanks! 10:24:04 From Radu Pralea : In your slides, you were mentioning something about "near real-time" analysis. Could you develop a bit, please? 10:26:08 From Radu Pralea : oh, ok, so there is real-time streaming . Thanks!
Can LTTng/Tracealyzer be used for online real-time tracing?