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 - Duration: 25:41

M↓ MARKDOWN HELP
italicssurround text with
*asterisks*
boldsurround text with
**two asterisks**
hyperlink
[hyperlink](https://example.com)
or just a bare URL
code
surround text with
`backticks`
strikethroughsurround text with
~~two tilde characters~~
quote
prefix with
>

acarvalho
Score: 0 | 3 years ago | 2 replies

Can LTTng/Tracealyzer be used for online real-time tracing?

JohanKraft
Score: 0 | 3 years ago | no reply

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.

mabSpeaker
Score: 1 | 3 years ago | no reply

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).

Erwin
Score: 0 | 3 years ago | 1 reply

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?

mabSpeaker
Score: 0 | 3 years ago | no reply

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!

acarvalho
Score: 0 | 3 years ago | 1 reply

This seems to be very helpful for developers. How would you say that Tracealyzer timelines can be helfpful for higher level software testers?

mabSpeaker
Score: 1 | 3 years ago | no reply

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!

OUR SPONSORS

OUR PARTNERS