Open xixiliguo opened 1 month ago
Good catch. sched_process_exit is triggered on thread exit and we aren't checking signal.live so this means we end up catching threads not just processes. Now I think about it, it may be a bit confusing since this means we are showing threads not just processes in the process view.
below/src/bpf/exitstat.bpf.c Comment show that code logic will check tas->signal.live as last thread, but I never found it in all files so comment is wrong?