Message ID | 20221123084634.797557114@linuxfoundation.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | None | expand |
--- a/kernel/trace/trace_eprobe.c +++ b/kernel/trace/trace_eprobe.c @@ -560,6 +560,9 @@ static void eprobe_trigger_func(struct e { struct eprobe_data *edata = data->private_data; + if (unlikely(!rec)) + return; + __eprobe_trace_func(edata, rec); }