blob: 3ee38c8b3085764b8655a4e76204bac3dc48f9d3 [file] [edit]
/*
* Copyright (C) 2026 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.
*/
syntax = "proto2";
package perfetto.protos;
message TraceProvenance {
message Sequence {
// The trusted_packet_sequence_id reported in each TracePacket.
optional uint32 id = 1;
// ID of the producer, as per Producer.id.
optional int32 producer_id = 2;
}
// Describes a trace buffer and all the sequences writing to it.
message Buffer {
repeated Sequence sequences = 1;
}
repeated Buffer buffers = 2;
}