NetBSD Wiki/projects/project/
Port XRay to the NetBSD kernel
- Contact: tech-kern
- Duration estimate: 3 months
IMPORTANT: This project was completed by kamil. You may still contact the people above for details, but please do not submit an application for this project.
*Note: This project has been abandoned. XRay as DTrace is currently viewed to be unsuitable for NetBSD because it requires RWX kernel mappings, and the workaround for this is expected to be very slow and introduce unacceptable bloat to the kernel.
XRay is a function call tracing system which combines compiler-inserted instrumentation points and a runtime library that can dynamically enable and disable the instrumentation.
Research and port XRay to the NetBSD kernel getting DTrace-like features of dynamic tracing.
Milestones:
- Compile the NetBSD kernel with XRay instrumentation
- Write from scratch an XRay runtime for the kernel
- Export handlers for the XRay management to userland
References:
- https://llvm.org/docs/XRay.html
- http://www.brendangregg.com/dtrace.html
Add a comment