Oddbean new post about | logout
 [$] Efficient Rust tracepoints


Alice Ryhl has been working to enable
<a href="https://www.kernel.org/doc/html/latest/trace/tracepoints.html" rel="nofollow">
tracepoints</a> — which are widely used
throughout the kernel — to be seamlessly placed in Rust code as well. She spoke
about her approach at Kangrejos. Her
<a href="https://lwn.net/ml/all/20241001-tracepoint-v9-0-1ad3b7d78acb@google.com/" rel="nofollow">
patch set</a>
enables efficient use of static
tracepoints, but supporting dynamic tracepoints will take some additional effort.


https://lwn.net/Articles/992455/