Bug 422620 - [TMF] Events List's "Show Raw" option should be greyed-out for trace types that don't support it
Summary: [TMF] Events List's "Show Raw" option should be greyed-out for trace types th...
Status: NEW
Alias: None
Product: Tracecompass
Classification: Tools
Component: TMF (show other bugs)
Version: 0.1.0   Edit
Hardware: PC Linux
: P3 normal
Target Milestone: ---   Edit
Assignee: Patrick Tasse CLA
QA Contact: Patrick Tasse CLA
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2013-11-26 17:44 EST by Alexandre Montplaisir CLA
Modified: 2019-01-10 19:57 EST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Montplaisir CLA 2013-11-26 17:44:38 EST
When opening for example an LTTng trace in TMF, the user can right-click the Event List and choose Show Raw. This will open a tab to the right of the view that is completely empty, puzzling the user as to what he just did.

For trace types that don't support the Raw Viewer, the option should be disabled (greyed-out, but not removed completely, to not break mnemonics). This could be done with a separate interface that the trace can implement (like ITmfTraceProperties), and traces that do implement it offer the Show Raw option.

Once that is done, support for showing the binary data from CTF traces would be really cool!! But that is a separate matter altogether.
Comment 1 Bernd Hufmann CLA 2015-03-11 16:04:15 EDT
Bug report moved to Trace Compass
Comment 2 Willy Michel CLA 2016-12-19 06:02:45 EST
What is the reason, why the "Show Raw" option doesn't support LTTng traces? It would be very helpful, to see the binary representation of an LTTng event.