tracing: Add support for display of tgid in trace output
authorJoel Fernandes <joelaf@google.com>
Mon, 26 Jun 2017 05:38:43 +0000 (22:38 -0700)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 27 Jun 2017 17:30:28 +0000 (13:30 -0400)
commit441dae8f2f2975c68101a84bc3f528ec95ecf7c3
tree0f16d4550fafdff2718a33b7cc99ba8ab3391794
parentd914ba37d7145acb9fd3bb23075c2d56e5a44eb6
tracing: Add support for display of tgid in trace output

Earlier patches introduced ability to record the tgid using the 'record-tgid'
option. Here we read the tgid and output it if the option is enabled.

Link: http://lkml.kernel.org/r/20170626053844.5746-3-joelaf@google.com
Cc: kernel-team@android.com
Cc: Ingo Molnar <mingo@redhat.com>
Tested-by: Michael Sartain <mikesart@gmail.com>
Signed-off-by: Joel Fernandes <joelaf@google.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace_output.c