Fix constant names to indicate preemption

Rename WAIT and BLOCKED to PREEMPT, as it is more descriptive
Change state names blocked for preempted

Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>
Add vm preemption view

Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>
Make potential null pointer a warning

Instead of an error

Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>
Added fake trace for basic testing

Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>
Removed memory tracking

Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>
Change "unused variable" error to warning

Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>
Add test for null pointer

Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>
Change unused private member error to warning

Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>
Added CURRENT_CPU attribute to threads

Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>
Fixed view

Now we can see when a thread is migrated between CPUs.
Even if threads all have the same quark and the same entry in the state
system, we draw them independantly in the view.

Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>
Threads are under node "Threads" and not under CPU

Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>
Use apporpriate ID for the entries

Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>
Threads are under node "Threads" and not under CPU

Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>
Include VM name in the entries

Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>
This is a hack! Must find better solution later

Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>
First real implementation on the VM preempt view

Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>
Some progress in the vm preempt view

Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>