Skip to main content

Crate ktrace_rs_tests

Crate ktrace_rs_tests 

Source

Structs§

KTrace
A pure Rust implementation of KTrace.
KTraceBuffer
A Rust implementation of percpu_writer::Buffer that wraps a static reference to an existing spsc_buffer::Buffer and tracks dropped trace records.
KTraceReservation
KTraceReservation encapsulates a pending write to the buffer.

Statics§

DROP_STATS_REF
META_CAT
NUM_BYTES_REF
NUM_RECORDS_REF

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.