Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334564 - [LTTng] LTTng does not report problems to the Problems view
Summary: [LTTng] LTTng does not report problems to the Problems view
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: LinuxTools (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Francois Chouinard CLA
QA Contact: Francois Chouinard CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-17 13:46 EST by Daniel U. Thibault CLA
Modified: 2022-01-13 14:52 EST (History)
2 users (show)

See Also:


Attachments
Part 1 of a sample trace that will cause warnings to be issued when loaded into an LTTng perspective (1.07 MB, application/x-gzip)
2011-01-17 13:59 EST, Daniel U. Thibault CLA
no flags Details
Part 2 of a sample trace that will cause warnings to be issued when loaded into an LTTng perspective (1.02 MB, application/x-gzip)
2011-01-17 14:00 EST, Daniel U. Thibault CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel U. Thibault CLA 2011-01-17 13:46:37 EST
Build Identifier: 20100917-0705

"events lost" warnings (and possibly others) are not captured in the Problems view: they can only be seen from the terminal used to launch Eclipse. If Eclipse was launched from a menu entry or icon on the desktop or elsewhere, nothing will be seen.

Reproducible: Always

Steps to Reproduce:
1. Launch Eclipse from a terminal (e.g. "$ eclipse &")
2. Open the Linux Tools LTTng perspective
3. Bring the Problems view to the fore
4. Create an LTTng project
5. Import a trace with "events lost" problems (see attachment)
6. Create an experiment and add the trace to it
7. Open the experiment
8. Observe how the Problems view reports nothing at all while warnings scroll in the terminal window
Comment 1 Daniel U. Thibault CLA 2011-01-17 13:59:30 EST
Created attachment 186936 [details]
Part 1 of a sample trace that will cause warnings to be issued when loaded into an LTTng perspective

This trace generates hundreds of warnings like this:

** (Eclipse:14770): WARNING **: 594 events lost so far in tracefile /home/daniel/workspace/My LTTng Verification Project/Traces/trace6/vm_state_2 at block 2
Comment 2 Daniel U. Thibault CLA 2011-01-17 14:00:04 EST
Created attachment 186937 [details]
Part 2 of a sample trace that will cause warnings to be issued when loaded into an LTTng perspective

This trace generates hundreds of warnings like this:

** (Eclipse:14770): WARNING **: 594 events lost so far in tracefile /home/daniel/workspace/My LTTng Verification Project/Traces/trace6/vm_state_2 at block 2
Comment 3 Francois Chouinard CLA 2011-06-02 11:48:30 EDT
These warnings are from liblttvtraceread, the C library that parses the traces. The lib writes directly to stderr and does not provide any notification mechanism that can be used by the viewer through the JNI wrapper. There's not much that we can do on this front without the help of the lib guys. Monitoring and parsing the console output is not worth it, IMHO.

This is where things get interesting. LTTng is moving towards the Common Trace Format (CTF), a new, more generic binary trace format. They will adapt their format along this standard. We are also told that there will be a utility to convert the old trace formats to the new one.

The good news is that we are working on an Eclipse implementation of a CTF parser - in Java - that will be used in lieu of the current, legacy, C libs.

The bad news is that we won't fix this particular problem. Unless someone is interested in providing a fix for this issue, I will close it shortly.
Comment 4 Patrick Tasse CLA 2013-05-17 17:23:41 EDT
Legacy LTTng support is being removed in Linux Tools 2.0.