diff options
author | 2010-03-23 19:33:21 +0100 | |
---|---|---|
committer | 2010-05-04 11:35:26 +0200 | |
commit | d0e4120fda6f87eead438eed4d49032e12060e58 (patch) | |
tree | 57f3ab727aa12bc63f19437a0a026e2ea5bd6d67 /lib/bug.c | |
parent | oprofile/x86: rework error handler in nmi_setup() (diff) | |
download | wireguard-linux-d0e4120fda6f87eead438eed4d49032e12060e58.tar.xz wireguard-linux-d0e4120fda6f87eead438eed4d49032e12060e58.zip |
oprofile/x86: reserve counter msrs pairwise
For AMD's and Intel's P6 generic performance counters have pairwise
counter and control msrs. This patch changes the counter reservation
in a way that both msrs must be registered. It joins some counter
loops and also removes the unnecessary NUM_CONTROLS macro in the AMD
implementation.
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions