commit | 4ac945f002c0bebdeb530cbc3729e22895e64a7e | [log] [tgz] |
---|---|---|
author | Robert Richter <robert.richter@amd.com> | Tue Sep 21 15:58:32 2010 +0200 |
committer | Robert Richter <robert.richter@amd.com> | Fri Oct 15 12:50:40 2010 +0200 |
tree | cab9bc4f51d5d640f6de256e2168b4bcc77e7b30 | |
parent | e63414740e15b4e2dc54c63fb9ea501b257fb0b5 [diff] |
oprofile, x86: Check IBS capability bits 1 and 2 There are IBS CPUID feature flags in CPUID Fn8000_001B to detect if the cpu supports IBS fetch sampling (FetchSam) and/or IBS execution sampling (OpSam). This patch adds checks if the both features are available. Spec: http://support.amd.com/us/Processor_TechDocs/31116.pdf Signed-off-by: Robert Richter <robert.richter@amd.com>