Systrace Usertag implementation

- add in header comment how to use this plug-in in Java outside
  of the framework and in kernel
- add support of trace_printk to systrace usertag
- add a class for systrace usertag to group those trace in the UI
- add a button in UI to toggle systrace user tags between USER_CLASS and SYSUTAG_CLASS views

Signed-off-by: Stephane Gasparini <stephane.gasparini@intel.com>
Signed-off-by: Sebastien MICHEL <michoux@gmail.com>
Signed-off-by: Sebastien MICHEL <sebastien.michel@intel.com>
remove some spaces at EOL

Signed-off-by: Sebastien MICHEL <michoux@gmail.com>
[tracing_mark_write] Change event.value type

Changing the regexp for S,F an C tag so that the last parameter is a string.
on S F tags (and even C tag) the last parameter is indeed a string even
if the cookie or counter are numbers.
using a %d instead of %s prevent to use a string cookie in F S tag
remove str conversion on event.value now useless

Signed-off-by: Stephane Gasparini <stephane.gasparini@intel.com>
Add tgid on tcProcess

Signed-off-by: Sebastien MICHEL <sebastien.michel@intel.com>
TGID integration on hmi

Signed-off-by: Sebastien MICHEL <sebastien.michel@intel.com>
Add color variance between each tgid

To have a better grouped by process view

Signed-off-by: Sebastien MICHEL <sebastien.michel@intel.com>
Print truncated comments

Signed-off-by: Sebastien MICHEL <sebastien.michel@intel.com>
Add mark feature

You can add some marks by double click. You will see time measurements
between marks on the top of the plot frame.

Signed-off-by: Sebastien MICHEL <michoux@gmail.com>
Fix division by zero exception

Signed-off-by: Sebastien MICHEL <michoux@gmail.com>
Add info on status bar

Signed-off-by: Sebastien MICHEL <michoux@gmail.com>
Add alpha to get labels more readable

Signed-off-by: Sebastien MICHEL <sebastien.michel@intel.com>
Add alpha to get marks measures more readable

Signed-off-by: Sebastien MICHEL <michoux@gmail.com>
Fix color bug due to draw_wake

Signed-off-by: Sebastien MICHEL <michoux@gmail.com>
Change from wake_up data model to IPC data model

wake up data model was only able to represent vertical arrows. IPC data
model is more generic and propose one timestamp for send action and
another timestamp for receive action.Now we can get diagonal arrows on
plot.

Signed-off-by: Sebastien MICHEL <michoux@gmail.com>
Use new IPC data model for binder

Signed-off-by: Sebastien MICHEL <michoux@gmail.com>
Remove tracing_mark_write counter when value is 0

Signed-off-by: Sebastien MICHEL <sebastien.michel@intel.com>