Eternity1824 commented on PR #919:
URL: 
https://github.com/apache/skywalking-banyandb/pull/919#issuecomment-3743832225

   I've added the KTM metrics validation in the FODC integration tests.
   
   Regarding the implementation, I refactored the eBPF module to use 
Tracepoints instead of the previous fentry-based approach for syscall tracking, 
mainly to improve robustness and portability:
   
   - Verifier robustness on recent kernels:
     Testing on newer kernels (e.g., 6.14 on x86) showed that syscall wrappers 
expose parameters via pt_regs in BTF, which makes multi-argument fentry 
programs prone to verifier rejections due to signature mismatches.
   
   - Stability & maintainability:
     Syscall tracepoints provide a stable ABI, allowing direct access to 
parameters and return values (args[] / ret) without relying on 
architecture-specific register conventions. This results in more predictable 
CO-RE behavior across kernel versions and architectures (x86 / ARM64).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to