oprofile/x86: return -EBUSY if counters are already reserved
authorRobert Richter <robert.richter@amd.com>
Fri, 26 Feb 2010 16:20:55 +0000 (17:20 +0100)
committerRobert Richter <robert.richter@amd.com>
Tue, 4 May 2010 09:35:28 +0000 (11:35 +0200)
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>

No differences found