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"

contact="""
[tech-kern](mailto:tech-kern@NetBSD.org)
"""

done_by="kamil"

category="analyzers"
difficulty="hard"
duration="3 months"

description="""

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

"""
]]

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb