bcc icon indicating copy to clipboard operation
bcc copied to clipboard

libbpf-tools: add CO-RE 'pidpersec'

Open myhro opened this issue 10 months ago • 2 comments

This is a CO-RE port of the Brendan Gregg's pidpersec BCC Python tool.

It's my second attempt in porting a BCC tool to CO-RE. I'm starting from the smaller ones, but the intention is to eventually get to the larger ones.

myhro avatar Apr 12 '24 10:04 myhro

Thanks for contribution. But bcc tools are used for production debugging and observations. You need to provide real use cases for the tool to be merged.

yonghong-song avatar Apr 15 '24 22:04 yonghong-song

Thanks for the feedback, @yonghong-song. This PR is not a completely new addition, but a C/libbpf port of the existing pidpersec.py tool, which is documented in the companion example.

My understanding is that if a tool is already part of the repository, it's considered useful for production debugging/observations. Maybe this case is different, considering it was added ~9 years ago, and it was just a showcase of BPF functionality back then?

myhro avatar Apr 15 '24 23:04 myhro