runtime/linux/autoconf-hw_breakpoint_context.c
raw| 1 | #include <linux/hw_breakpoint.h> |
| 2 | |
| 3 | /* void *context parameter is new since linux commit 4dc0da. */ |
| 4 | struct perf_event * __percpu * |
| 5 | hw_breakpoint_context(struct perf_event_attr *attr, |
| 6 | perf_overflow_handler_t triggered, |
| 7 | void *context); |
| 8 | struct perf_event * __percpu * |
| 9 | hw_breakpoint_context(struct perf_event_attr *attr, |
| 10 | perf_overflow_handler_t triggered, |
| 11 | void *context) |
| 12 | { |
| 13 | return register_wide_hw_breakpoint(attr, triggered, context); |
| 14 | } |