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

From: Steven Rostedt
Date: Tue Apr 01 2025 - 18:12:24 EST


On Tue, 1 Apr 2025 15:04:11 -0700
Andrii Nakryiko <andrii.nakryiko@xxxxxxxxx> 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