diff options
| author | Frederic Weisbecker <[email protected]> | 2009-11-26 05:35:42 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-11-26 09:29:21 +0100 |
| commit | 605bfaee9078cd0b01d83402315389839ee4bb5c (patch) | |
| tree | 35c3af269b37347b689b3b212fc99d4ae9f719e5 /scripts/objdiff | |
| parent | c6567f642e20bcc79abed030f44be5b0d6da2ded (diff) | |
hw-breakpoints: Simplify error handling in breakpoint creation requests
This simplifies the error handling when we create a breakpoint.
We don't need to check the NULL return value corner case anymore
since we have improved perf_event_create_kernel_counter() to
always return an error code in the failure case.
Signed-off-by: Frederic Weisbecker <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Prasad <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions