trace: Add an option to show tgids in trace output
authorJamie Gennis <jgennis@google.com>
Wed, 21 Nov 2012 23:04:25 +0000 (15:04 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:53:27 +0000 (13:53 -0800)
commit6019e59489e288c1eb7276387ea45d8ceb69f6b2
tree3dbc140cf1c8eec9c9c95e4021968fe4e49890ac
parente2dba5ee5fa27dace155194163ce970c63e6fe7a
trace: Add an option to show tgids in trace output

The tgids are tracked along side the saved_cmdlines tracking, and can be
included in trace output by enabling the 'print-tgid' trace option. This is
useful when doing post-processing of the trace data, as it allows events to be
grouped by tgid.

Change-Id: I52ed04c3a8ca7fddbb868b792ce5d21ceb76250e
Signed-off-by: Jamie Gennis <jgennis@google.com>
kernel/trace/trace.c
kernel/trace/trace.h
kernel/trace/trace_output.c