← Back to Tracing domain

Tracing.getTrackEventDescriptor

Return a descriptor for all available tracing categories.

Domain: Tracing experimental

Returns

NameTypeDescription
descriptorstringBase64-encoded serialized perfetto.protos.TrackEventDescriptor protobuf message. (Encoded as a base64 string when passed over JSON)

Example Request

{
  "id": 1,
  "method": "Tracing.getTrackEventDescriptor"
}

Example Response

{
  "id": 1,
  "result": {
    "descriptor": "descriptor-value"
  }
}

Usage in Node.js

const result = await send('Tracing.getTrackEventDescriptor');
console.log(result);
// {"descriptor": "descriptor-value"}