Structs§
- KTrace
- A pure Rust implementation of KTrace.
- KTrace
Buffer - A Rust implementation of
percpu_writer::Bufferthat wraps a static reference to an existingspsc_buffer::Bufferand tracks dropped trace records. - KTrace
Reservation - KTraceReservation encapsulates a pending write to the buffer.
Statics§
Functions§
- rust_
ktrace_ ⚠init - Initializes the global KTrace instance with the given number of CPU buffers.
- rust_
ktrace_ ⚠init_ cpu_ buffer - Initializes the KTraceBuffer for a specific CPU using a pointer to the C++ SpscBuffer.