perfetto
This tracer outputs events in Perfetto native format, which can be visualized in perfetto.
Parameters
backend
The tracing backend to use:
-
file(default): Write to a.pftracefile in the current directory -
system: Connect to the systemtraceddaemon for system-wide tracing
Example (file output):
$ GST_TRACERS='perfetto' gst-launch-1.0 videotestsrc num-buffers=120 ! fakesink
A .pftrace file will be created in the current directory.
Example (system tracing):
$ GST_TRACERS='perfetto(backend=system)' gst-launch-1.0 videotestsrc num-buffers=120 ! fakesink
Events will be sent to the system traced daemon.
Named constants
Perfetto-tracer-backend
Members
file (0) – File: Write to a .pftrace file
system (1) – System: Connect to traced daemon
GstPerfettoTracer
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstTracer ╰──GstRsTracingTracer ╰──GstPerfettoTracer
Properties
backend
“backend” Perfetto-tracer-backend *
The tracing backend to use
Flags : Read / Write
Default value : file (0)
The results of the search are