summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/tsc.c
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2014-07-22 16:17:25 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2014-07-23 11:35:43 -0300
commitb9d266baac0429f70df3f9cf751b045730d612e3 (patch)
treed4625908c8f0d9e972a489da208725f460048e4a /tools/perf/util/tsc.c
parentbf49c35f630452d85c9cd7205a72df841e8d99b9 (diff)
downloadlinux-b9d266baac0429f70df3f9cf751b045730d612e3.tar.bz2
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 <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1406035081-14301-17-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/tsc.c')
0 files changed, 0 insertions, 0 deletions