On Tue, 7 Oct 2025 16:31:41 -0400 Steven Rostedt <[email protected]> wrote:
> +static void trace_user_fault_buffer_free(struct trace_user_buf_info *tinfo)
> +{
> + char *buf;
> + int cpu;
> +
> + for_each_possible_cpu(cpu) {
> + buf = per_cpu_ptr(tinfo->tbuf, cpu)->buf;
> + kfree(buf);
> + }
Oops, missed:
free_percpu(tinfo->tbuf);
here.
-- Steve
> + kfree(tinfo);
> +}
