Returns the current maximum trace buffer usage across processes.
This method is not supported on macOS and rejects on that platform.
Starts content tracing across runtime processes.
Only one content tracing session may be active across the runtime at a time. This method rejects if another identity already owns the active session.
await fin.System.ContentTracing.startRecording({
recording_mode: 'record-as-much-as-possible',
included_categories: [
'*',
'disabled-by-default-blink.invalidation',
'disabled-by-default-cc.debug',
'disabled-by-default-viz.surface_id_flow'
]
});
console.log('Content tracing started. Call stopRecording() when ready to collect the trace.');
Stops the active content tracing session and writes the trace to the runtime-managed cache folder.
The calling identity must match the identity that started the active tracing session. This method rejects if tracing is not active or is owned by another identity.
Chromium content tracing APIs exposed under
fin.System.ContentTracing.