Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339570 - [LTTng] Statistics View is no longer updated after stats expansion
Summary: [LTTng] Statistics View is no longer updated after stats expansion
Status: RESOLVED FIXED
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: Alexandre Montplaisir CLA
QA Contact: Francois Chouinard CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 301631
  Show dependency tree
 
Reported: 2011-03-10 13:44 EST by Francois Chouinard CLA
Modified: 2022-01-13 14:52 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Chouinard CLA 2011-03-10 13:44:33 EST
The stats collecting request stops if the the stats tree (in the Statistics View) is expanded while it is running.

The correct behavior is to expand the tree and update the various fields dynamically as the trace is parsed for statistics.
Comment 1 Francois Chouinard CLA 2011-03-30 14:21:15 EDT
Update on how to reproduce the problem:

- Start Eclipse without the Stats view opened
- Select a large trace for parsing
- When the long histogram starts to fill (the BG job), open the Stats view
- Another BG job will be started and control will switch back and forth between the 2 jobs
- At one point, the Stats view BG job will stop (apparently on a chunk boundary)
Comment 2 Mathieu Denis CLA 2011-08-01 16:35:39 EDT
Any BG job will provoke the bug to occur, not just the histogram one.
Comment 3 Patrick Tasse CLA 2013-05-23 13:30:17 EDT
Fixed with the refactoring of statistics view to use the state system.

Pushed to master branch
commit e3d9ca5f1809ad021546d7f456d730f079550119