From: Adrian Hunter Date: Tue, 22 Jul 2014 13:17:25 +0000 (+0300) Subject: perf machine: Add ability to record the current tid for each cpu X-Git-Tag: omap-for-v3.17/fixes-against-rc2~178^2~1^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9d266baac0429f70df3f9cf751b045730d612e3;p=pandora-kernel.git perf machine: Add ability to record the current tid for each cpu Add an array to struct machine to store the current tid running on each cpu. Add machine functions to get / set the tid for a cpu. This will be used to determine the tid when decoding a per-cpu Instruction Trace. Signed-off-by: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/r/1406035081-14301-17-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed