Commit 8617f98c authored by Robert Richter's avatar Robert Richter
Browse files

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: default avatarRobert Richter <robert.richter@amd.com>
parent 83300ce0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment