[PATCH v4 0/3] tracing: Add support for recording tgid of tasks

2017-06-25 Thread Joel Fernandes
Hi Steven,

Following your comments in [1], I reworked the patches. I agree its much
cleaner now. Please check them out and thanks.

Android systrace viewer heavily depends on the tgid to group tasks. tgid is
also useful for analyzing traces and generating analysis results for groups of
tasks. Also Michael Sartain said he also has a need for it and helped test the
series (I have added him to CC).

[1] https://lkml.org/lkml/2017/6/13/754

Joel Fernandes (3):
  tracing: Add support for recording tgid of tasks
  tracing: Add support for display of tgid in trace output
  tracing/ftrace: Add support to record and display tgid

 include/linux/trace_events.h  |  13 +++-
 kernel/trace/trace.c  | 142 +++---
 kernel/trace/trace.h  |   9 +++
 kernel/trace/trace_events.c   |  42 ++-
 kernel/trace/trace_functions.c|  26 +++
 kernel/trace/trace_output.c   |   9 +++
 kernel/trace/trace_sched_switch.c |  75 
 7 files changed, 276 insertions(+), 40 deletions(-)


Cc: Steven Rostedt 
Cc: Ingo Molnar 
Cc: kernel-t...@android.com
Cc: Michael Sartain 
-- 
2.13.1.611.g7e3b11ae1-goog



[PATCH v4 0/3] tracing: Add support for recording tgid of tasks

2017-06-25 Thread Joel Fernandes
Hi Steven,

Following your comments in [1], I reworked the patches. I agree its much
cleaner now. Please check them out and thanks.

Android systrace viewer heavily depends on the tgid to group tasks. tgid is
also useful for analyzing traces and generating analysis results for groups of
tasks. Also Michael Sartain said he also has a need for it and helped test the
series (I have added him to CC).

[1] https://lkml.org/lkml/2017/6/13/754

Joel Fernandes (3):
  tracing: Add support for recording tgid of tasks
  tracing: Add support for display of tgid in trace output
  tracing/ftrace: Add support to record and display tgid

 include/linux/trace_events.h  |  13 +++-
 kernel/trace/trace.c  | 142 +++---
 kernel/trace/trace.h  |   9 +++
 kernel/trace/trace_events.c   |  42 ++-
 kernel/trace/trace_functions.c|  26 +++
 kernel/trace/trace_output.c   |   9 +++
 kernel/trace/trace_sched_switch.c |  75 
 7 files changed, 276 insertions(+), 40 deletions(-)


Cc: Steven Rostedt 
Cc: Ingo Molnar 
Cc: kernel-t...@android.com
Cc: Michael Sartain 
-- 
2.13.1.611.g7e3b11ae1-goog