perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
76 lines • 5.27 kB
JavaScript
;
//
// Copyright (C) 2019 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
Object.defineProperty(exports, "__esModule", { value: true });
exports.TrackDescriptor_ChildTracksOrderingSchema = exports.TrackDescriptor_ChildTracksOrdering = exports.TrackDescriptorSchema = exports.file_protos_perfetto_trace_track_event_track_descriptor = void 0;
const codegenv1_1 = require("@bufbuild/protobuf/codegenv1");
const chrome_process_descriptor_pb_1 = require("./chrome_process_descriptor_pb");
const chrome_thread_descriptor_pb_1 = require("./chrome_thread_descriptor_pb");
const process_descriptor_pb_1 = require("./process_descriptor_pb");
const thread_descriptor_pb_1 = require("./thread_descriptor_pb");
const counter_descriptor_pb_1 = require("./counter_descriptor_pb");
/**
* Describes the file protos/perfetto/trace/track_event/track_descriptor.proto.
*/
exports.file_protos_perfetto_trace_track_event_track_descriptor = (0, codegenv1_1.fileDesc)("Cjhwcm90b3MvcGVyZmV0dG8vdHJhY2UvdHJhY2tfZXZlbnQvdHJhY2tfZGVzY3JpcHRvci5wcm90bxIPcGVyZmV0dG8ucHJvdG9zIpoFCg9UcmFja0Rlc2NyaXB0b3ISDAoEdXVpZBgBIAEoBBITCgtwYXJlbnRfdXVpZBgFIAEoBBIOCgRuYW1lGAIgASgJSAASFQoLc3RhdGljX25hbWUYCiABKAlIABIVCgthdHJhY2VfbmFtZRgNIAEoCUgAEjMKB3Byb2Nlc3MYAyABKAsyIi5wZXJmZXR0by5wcm90b3MuUHJvY2Vzc0Rlc2NyaXB0b3ISQAoOY2hyb21lX3Byb2Nlc3MYBiABKAsyKC5wZXJmZXR0by5wcm90b3MuQ2hyb21lUHJvY2Vzc0Rlc2NyaXB0b3ISMQoGdGhyZWFkGAQgASgLMiEucGVyZmV0dG8ucHJvdG9zLlRocmVhZERlc2NyaXB0b3ISPgoNY2hyb21lX3RocmVhZBgHIAEoCzInLnBlcmZldHRvLnByb3Rvcy5DaHJvbWVUaHJlYWREZXNjcmlwdG9yEjMKB2NvdW50ZXIYCCABKAsyIi5wZXJmZXR0by5wcm90b3MuQ291bnRlckRlc2NyaXB0b3ISKwojZGlzYWxsb3dfbWVyZ2luZ193aXRoX3N5c3RlbV90cmFja3MYCSABKAgSTAoOY2hpbGRfb3JkZXJpbmcYCyABKA4yNC5wZXJmZXR0by5wcm90b3MuVHJhY2tEZXNjcmlwdG9yLkNoaWxkVHJhY2tzT3JkZXJpbmcSGgoSc2libGluZ19vcmRlcl9yYW5rGAwgASgFIlYKE0NoaWxkVHJhY2tzT3JkZXJpbmcSCwoHVU5LTk9XThAAEhEKDUxFWElDT0dSQVBISUMQARIRCg1DSFJPTk9MT0dJQ0FMEAISDAoIRVhQTElDSVQQA0IYChZzdGF0aWNfb3JfZHluYW1pY19uYW1l", [chrome_process_descriptor_pb_1.file_protos_perfetto_trace_track_event_chrome_process_descriptor, chrome_thread_descriptor_pb_1.file_protos_perfetto_trace_track_event_chrome_thread_descriptor, process_descriptor_pb_1.file_protos_perfetto_trace_track_event_process_descriptor, thread_descriptor_pb_1.file_protos_perfetto_trace_track_event_thread_descriptor, counter_descriptor_pb_1.file_protos_perfetto_trace_track_event_counter_descriptor]);
/**
* Describes the message perfetto.protos.TrackDescriptor.
* Use `create(TrackDescriptorSchema)` to create a new message.
*/
exports.TrackDescriptorSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_trace_track_event_track_descriptor, 0);
/**
* Specifies how the UI should display child tracks of this track (i.e. tracks
* where `parent_uuid` is specified to this track `uuid`). Note that this
* value is simply a *hint* to the UI: the UI is not guarnateed to respect
* this if it has a good reason not to do so.
*
* @generated from enum perfetto.protos.TrackDescriptor.ChildTracksOrdering
*/
var TrackDescriptor_ChildTracksOrdering;
(function (TrackDescriptor_ChildTracksOrdering) {
/**
* The default ordering, with no bearing on how the UI will visualise the
* tracks.
*
* @generated from enum value: UNKNOWN = 0;
*/
TrackDescriptor_ChildTracksOrdering[TrackDescriptor_ChildTracksOrdering["UNKNOWN"] = 0] = "UNKNOWN";
/**
* Order tracks by `name` or `static_name` depending on which one has been
* specified.
*
* @generated from enum value: LEXICOGRAPHIC = 1;
*/
TrackDescriptor_ChildTracksOrdering[TrackDescriptor_ChildTracksOrdering["LEXICOGRAPHIC"] = 1] = "LEXICOGRAPHIC";
/**
* Order tracks by the first `ts` event in a track.
*
* @generated from enum value: CHRONOLOGICAL = 2;
*/
TrackDescriptor_ChildTracksOrdering[TrackDescriptor_ChildTracksOrdering["CHRONOLOGICAL"] = 2] = "CHRONOLOGICAL";
/**
* Order tracks by `sibling_order_rank` of child tracks. Child tracks with
* the lower values will be shown before tracks with higher values. Tracks
* with no value will be treated as having 0 rank.
*
* @generated from enum value: EXPLICIT = 3;
*/
TrackDescriptor_ChildTracksOrdering[TrackDescriptor_ChildTracksOrdering["EXPLICIT"] = 3] = "EXPLICIT";
})(TrackDescriptor_ChildTracksOrdering || (exports.TrackDescriptor_ChildTracksOrdering = TrackDescriptor_ChildTracksOrdering = {}));
/**
* Describes the enum perfetto.protos.TrackDescriptor.ChildTracksOrdering.
*/
exports.TrackDescriptor_ChildTracksOrderingSchema = (0, codegenv1_1.enumDesc)(exports.file_protos_perfetto_trace_track_event_track_descriptor, 0, 0);
//# sourceMappingURL=track_descriptor_pb.js.map