stackplz icon indicating copy to clipboard operation
stackplz copied to clipboard

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

Open SeeFlowerX opened this issue 1 year ago • 2 comments

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

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

https://github.com/gojue/ebpfmanager/pull/35

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

  • https://github.com/SeeFlowerX/ebpfmanager
  • https://github.com/SeeFlowerX/ebpf

SeeFlowerX avatar Jul 25 '23 03:07 SeeFlowerX

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

SeeFlowerX avatar Jul 25 '23 03:07 SeeFlowerX

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

JiaHuann avatar Jul 25 '23 03:07 JiaHuann