]> git.baikalelectronics.ru Git - kernel.git/commit
oprofile, x86: Add support for 6 counters (AMD family 15h)
authorRobert Richter <robert.richter@amd.com>
Fri, 24 Sep 2010 13:54:43 +0000 (15:54 +0200)
committerRobert Richter <robert.richter@amd.com>
Sun, 19 Dec 2010 10:43:08 +0000 (11:43 +0100)
commit528885295efd451bc7b4754e06f1fe87297f5df5
treeaa3998eafd72b7ab79c8e13ec07bc2546110ebab
parent307e554875cf950f70eca71a6ee3e5c78e0934f7
oprofile, x86: Add support for 6 counters (AMD family 15h)

This patch adds support for up to 6 hardware counters for AMD family
15h cpus. There is a new MSR range for hardware counters beginning at
MSRC001_0200 Performance Event Select (PERF_CTL0).

Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/x86/include/asm/msr-index.h
arch/x86/oprofile/op_model_amd.c