diff options
Diffstat (limited to 'kernel/hw_breakpoint.c')
-rw-r--r-- | kernel/hw_breakpoint.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/hw_breakpoint.c b/kernel/hw_breakpoint.c index 6f150095cafe..3b2aaffb65f0 100644 --- a/kernel/hw_breakpoint.c +++ b/kernel/hw_breakpoint.c | |||
@@ -610,6 +610,8 @@ static void hw_breakpoint_stop(struct perf_event *bp, int flags) | |||
610 | } | 610 | } |
611 | 611 | ||
612 | static struct pmu perf_breakpoint = { | 612 | static struct pmu perf_breakpoint = { |
613 | .task_ctx_nr = perf_sw_context, /* could eventually get its own */ | ||
614 | |||
613 | .event_init = hw_breakpoint_event_init, | 615 | .event_init = hw_breakpoint_event_init, |
614 | .add = hw_breakpoint_add, | 616 | .add = hw_breakpoint_add, |
615 | .del = hw_breakpoint_del, | 617 | .del = hw_breakpoint_del, |