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

[feature request] 采用ringbuf读取传递数据 #11

Open
SeeFlowerX opened this issue Jul 25, 2023 · 2 comments
Open

[feature request] 采用ringbuf读取传递数据 #11

SeeFlowerX opened this issue Jul 25, 2023 · 2 comments
Assignees

Comments

@SeeFlowerX
Copy link
Owner

SeeFlowerX commented Jul 25, 2023

目前stackplz用的是常规的PerfMap传递数据,比较耗费资源,在某些调用特别高频的时候下会出现大量数据丢失(虽然改用了tracee的方式传递数据好了很多,但...)

上游ebpfmanager已经添加了ringbuf map的支持,ringbuf效率更高

gojue/ebpfmanager#35

但是为了传递其他的FLAG以获取更多参数,ebpfmanager和ebpf库都有所修改,需要进行合并适配

@SeeFlowerX
Copy link
Owner Author

@JiaHuann 你看看这个改起来麻烦不

@JiaHuann
Copy link

@JiaHuann 你看看这个改起来麻烦不
行,看起来可以做,如果不急着实现这个feature的话我忙完手头工作就可以搞了: )

@SeeFlowerX SeeFlowerX assigned SeeFlowerX and JiaHuann and unassigned SeeFlowerX Jul 27, 2023
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

No branches or pull requests

2 participants