Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[eBPF] Reducing CPU consumption for process events exec/exit #6201

Draft
wants to merge 1 commit into
base: v6.4
Choose a base branch
from

Commits on Apr 23, 2024

  1. [eBPF] Reducing CPU consumption for process events exec/exit

    Replace `sched_process_fork` with `sys_exit_fork` and `sys_exit_clone` tracepoints because sched_process_fork cannot distinguish between processes and threads, leading to excessive threads being pushed to the upper layer unnecessarily. `sys_exit_fork` and `sys_exit_clone` only push process information.
    
    Use spin locks to protect the process event list instead of thread mutex locks to avoid frequent context switches.
    yinjiping committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    9fe00b7 View commit details
    Browse the repository at this point in the history