brendangregg / perf-tools

Performance analysis tools based on Linux perf_events (aka perf) and ftrace
GNU General Public License v2.0
9.9k stars 1.65k forks source link

Difference between sched_process_free and sched_process_exit #101

Closed Ty-Chen closed 3 years ago

Ty-Chen commented 3 years ago

Hi, I'm confused what's the differnece between sched_process_free and sched_process_exit. And when I want to listen to a process to ensure that it is fully "terminated" and removed from memory, which is the best choice?

Ty-Chen commented 3 years ago

I've solved it by myself. I read the source code and know the difference now.

yzhao1012 commented 2 years ago

Could you explain here? That would help others to learn the difference, thanks!

Eric3495 commented 2 years ago

邮件发到~~