Tracing.getTrackEventDescriptorReturn a descriptor for all available tracing categories.
| Name | Type | Description |
|---|---|---|
descriptor | string | Base64-encoded serialized perfetto.protos.TrackEventDescriptor protobuf message. (Encoded as a base64 string when passed over JSON) |
{
"id": 1,
"method": "Tracing.getTrackEventDescriptor"
}
{
"id": 1,
"result": {
"descriptor": "descriptor-value"
}
}
const result = await send('Tracing.getTrackEventDescriptor');
console.log(result);
// {"descriptor": "descriptor-value"}