diff options
author | Andi Kleen <ak@linux.intel.com> | 2008-08-18 14:50:31 +0200 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2008-10-13 19:25:09 +0200 |
commit | b99170288421c79f0c2efa8b33e26e65f4bb7fb8 (patch) | |
tree | 7580ce405a4dbbd2c57fbc9a129102481467e281 /fs/inode.c | |
parent | f645f6406463a01869c50844befc76d528971690 (diff) |
oprofile: Implement Intel architectural perfmon support
Newer Intel CPUs (Core1+) have support for architectural
events described in CPUID 0xA. See the IA32 SDM Vol3b.18 for details.
The advantage of this is that it can be done without knowing about
the specific CPU, because the CPU describes by itself what
performance events are supported. This is only a fallback
because only a limited set of 6 events are supported.
This allows to do profiling on Nehalem and on Atom systems
(later not tested)
This patch implements support for that in oprofile's Intel
Family 6 profiling module. It also has the advantage of supporting
an arbitary number of events now as reported by the CPU.
Also allow arbitary counter widths >32bit while we're at it.
Requires a patched oprofile userland to support the new
architecture.
v2: update for latest oprofile tree
remove force_arch_perfmon
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'fs/inode.c')
0 files changed, 0 insertions, 0 deletions