Re: [PATCH] exit: add trace_task_exit() tracepoint before current->mm is reset

Steven Rostedt
2025-04-01T22:12:15Z

On Tue, 1 Apr 2025 15:04:11 -0700
Andrii Nakryiko <andrii.nakryiko@gmail.com> wrote:

> How bad would it be to just move trace_sched_process_exit() then? (and
> add group_dead there, as you mentioned)?

I personally don't have an issue with that. In fact, the one place I used
the sched_process_exit tracepoint, I had to change to use
sched_process_free because it does too much after that.

OK, let's just move the sched_process_exit tracepoint. It's in an arbitrary
location anyway.

-- Steve