diff options
author | Maria Dimakopoulou <[email protected]> | 2014-11-17 20:06:57 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-04-02 17:33:11 +0200 |
commit | 6f6539cad926f55d5eb6e79d05bbe99f0d54d56d (patch) | |
tree | 25b7ddb8abc3d567ddd108c9cc601a22ececd3bb /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 79cba822443a168c8f7f5b853d9c7225a6d5415e (diff) |
perf/x86/intel: Add cross-HT counter exclusion infrastructure
This patch adds a new shared_regs style structure to the
per-cpu x86 state (cpuc). It is used to coordinate access
between counters which must be used with exclusion across
HyperThreads on Intel processors. This new struct is not
needed on each PMU, thus is is allocated on demand.
Signed-off-by: Maria Dimakopoulou <[email protected]>
[peterz: spinlock_t -> raw_spinlock_t]
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Stephane Eranian <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions