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

feat: add ebpf plugins #2049

Open
wants to merge 35 commits into
base: main
Choose a base branch
from
Open

feat: add ebpf plugins #2049

wants to merge 35 commits into from

Conversation

KayzzzZ
Copy link
Collaborator

@KayzzzZ KayzzzZ commented Jan 19, 2025

  1. 引入 coolbpf 子模块,作为 bpf 底座
  2. 新增 ebpf driver 目录,作为 coolbpf 的驱动
  3. AbstractManager 将负责管理每个 eBPF 插件,所有的 AbstractManagers 由 eBPFServer 管理
  4. SourceManager 仍然负责与 ebpf driver 交互,不过 eBPF Server 不再直接调用 SourceManager,转而由 AbstractManager 来调用
  5. 整体包括三组线程:Poller 线程负责拉取 eBPF PerfBuffer;Handler 线程负责处理 eBPF 事件;Scheduler 线程负责定时将聚合后的数据写入到 ProcessQueue 中

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant