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)
commitda169f5df2764a6a937cb3b07562e269edfb1c0e
treeaa3998eafd72b7ab79c8e13ec07bc2546110ebab
parent30570bced107243d5227527dd5317b22883dcf0c
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