summaryrefslogtreecommitdiffstats
path: root/kernel/smp.c
diff options
context:
space:
mode:
authorKan Liang2018-05-03 20:25:10 +0200
committerIngo Molnar2018-05-31 12:36:28 +0200
commit0e0162dfcd1fbe4c711ee86f24f966c318999603 (patch)
tree9bf956967d27593bd8b302fb2446dbe3156ec0b9 /kernel/smp.c
parentperf/x86/intel/uncore: Add new data structures for free running counters (diff)
downloadkernel-qcow2-linux-0e0162dfcd1fbe4c711ee86f24f966c318999603.tar.gz
kernel-qcow2-linux-0e0162dfcd1fbe4c711ee86f24f966c318999603.tar.xz
kernel-qcow2-linux-0e0162dfcd1fbe4c711ee86f24f966c318999603.zip
perf/x86/intel/uncore: Add infrastructure for free running counters
There are a number of free running counters introduced for uncore, which provide highly valuable information to a wide array of customers. However, the generic uncore code doesn't support them yet. The free running counters will be specially handled based on their unique attributes: - They are read-only. They cannot be enabled/disabled. - The event and the counter are always 1:1 mapped. It doesn't need to be assigned nor tracked by event_list. - They are always active. It doesn't need to check the availability. - They have different bit width. Also, using inline helpers to replace the check for fixed counter and free running counter. Signed-off-by: Kan Liang <kan.liang@intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: acme@kernel.org Cc: eranian@google.com Link: http://lkml.kernel.org/r/1525371913-10597-5-git-send-email-kan.liang@intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/smp.c')
0 files changed, 0 insertions, 0 deletions