iovisor / bcc

BCC - Tools for BPF-based Linux IO analysis, networking, monitoring, and more
Apache License 2.0
20.59k stars 3.88k forks source link

How to support fmod_ret #5081

Open Dwyane-Yan opened 3 months ago

Dwyane-Yan commented 3 months ago

Hello, I am a Linux engineer. Recently, when using BCC, I found that it does not support fmod_ret. fmod_ret has been gaining popularity lately as it enables us to overload kernel functions reserved within the Linux community, rather than simply modifying return values for error injection like kprobe override. Therefore, I would like to ask if you have any plans to support fmod_ret, and if there are any relevant reference materials that you can share to help me improve this functionality. Thank you.