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§

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

Functions§

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