diff options
author | Robert Richter <robert.richter@amd.com> | 2010-05-03 08:41:22 -0400 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2010-05-04 05:39:38 -0400 |
commit | de654649737696ecf32873c341b305e30f3dc777 (patch) | |
tree | 242e9a9f7d03b4da10b9786c895f46a8451a1725 /scripts/mkuboot.sh | |
parent | 6ae56b55bc364bc2f2342f599b46581627ba22da (diff) |
oprofile/x86: stop disabled counters in nmi handler
This patch adds checks to the nmi handler. Now samples are only
generated and counters reenabled, if the counters are running.
Otherwise the counters are stopped, if oprofile is using the nmi. In
other cases it will ignore the nmi notification.
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'scripts/mkuboot.sh')
0 files changed, 0 insertions, 0 deletions