File:  [NetBSD Developer Wiki] / wikisrc / projects / project / xray.mdwn
Revision 1.2: download - view: text, annotated - select for diffs
Fri Mar 26 09:24:53 2021 UTC (20 months, 1 week ago) by nia
Branches: MAIN
CVS tags: HEAD
project abandoned

[[!template id=project

title="Port XRay to the NetBSD kernel"



duration="3 months"


***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.


* Compile the NetBSD kernel with XRay instrumentation
* Write from scratch an XRay runtime for the kernel
* Export handlers for the XRay management to userland




CVSweb for NetBSD wikisrc <> software: FreeBSD-CVSweb