Crate rftrace_frontend

Source
Expand description

This crate provides a possible frontend for rftracer. It can initialize an event buffer, enable/disable tracing and save the trace to disk in a uftrace compatible format. A lot of documentation can be found in the parent workspaces readme.

Structs§

Events
Used to keep track of event buffer given to the staticlib

Functions§

disable
Disables tracing in the backend.
dump_full_uftrace
Dumps the traces with some faked metadata into the given folder. Uses the same format as uftrace, which should be used to parse them.
dump_trace
Dumps only the trace file to disk, without additional metadata.
enable
Enables tracing in the backend.
init
Initializes a new event buffer.