perf: Add context field to perf_event
[sfrench/cifs-2.6.git] / samples / hw_breakpoint / data_breakpoint.c
index 7b164d3200ffe8061b63d33603c3f11b1b3e82f9..ef7f32291852fec2b4e93f6d75053a1907b71b0f 100644 (file)
@@ -60,7 +60,7 @@ static int __init hw_break_module_init(void)
        attr.bp_len = HW_BREAKPOINT_LEN_4;
        attr.bp_type = HW_BREAKPOINT_W | HW_BREAKPOINT_R;
 
-       sample_hbp = register_wide_hw_breakpoint(&attr, sample_hbp_handler);
+       sample_hbp = register_wide_hw_breakpoint(&attr, sample_hbp_handler, NULL);
        if (IS_ERR((void __force *)sample_hbp)) {
                ret = PTR_ERR((void __force *)sample_hbp);
                goto fail;