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