commit | 8617f98c001d00b176422d707e6a67b88bcd7e0d | [log] [tgz] |
---|---|---|
author | Robert Richter <robert.richter@amd.com> | Fri Feb 26 17:20:55 2010 +0100 |
committer | Robert Richter <robert.richter@amd.com> | Tue May 04 11:35:28 2010 +0200 |
tree | e857f11dcbc6e650f4d0c30839099358c814e537 | |
parent | 83300ce0df6b72e156b386457aa0f0902b8c0a98 [diff] |
oprofile/x86: return -EBUSY if counters are already reserved In case a counter is already reserved by the watchdog or perf_event subsystem, oprofile ignored this counters silently. This case is handled now and oprofile_setup() now reports an error. Signed-off-by: Robert Richter <robert.richter@amd.com>