On Mon, 16 Nov 2020 16:02:18 -0500 Steven Rostedt <[email protected]> wrote:
> + if (new) {
> + for (i = 0; old[i].func; i++)
> + if (old[i].func != tp_func->func
> + || old[i].data != tp_func->data)
> + new[j++] = old[i];
Oops, need to check for old[i].func != tp_stub_func here too.
-- Steve
> + new[nr_probes - nr_del].func = NULL;
> + } else {
