Bug 491348 - [Analysis] Incorrect CPU tool tip in Control Flow view for swapper process
Summary: [Analysis] Incorrect CPU tool tip in Control Flow view for swapper process
Status: NEW
Alias: None
Product: Tracecompass
Classification: Tools
Component: LTTng (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Windows 7
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Project Inbox CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-08 14:01 EDT by Patrick Tasse CLA
Modified: 2016-04-08 14:01 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Tasse CLA 2016-04-08 14:01:26 EDT
In the Control Flow view, the CPU in the tool tip of a process is calculated by finding the CPU that has its Current_thread equal to the process's tid.

For the swapper/n (tid=0) entries have been recently added to the Control Flow view, this computation is incorrect. When the CPU is busy in some process, the correct CPU won't be match, and another CPU that happens to be idle (if any) will be used to determine the CPU tool tip value of the other CPU's swapper.