perfetto-sdk 0.1.3

Bindings for the Perfetto tracing framework
Documentation
// Copyright (C) 2025 Rivos Inc.
//
// 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.

// Autogenerated by the ProtoZero Rust compiler plugin.
// Invoked by contrib/rust-sdk/tools/gen_rust_protos
// DO NOT EDIT.

use crate::pb_msg;

pb_msg!(Callstack {
    iid: u64, primitive, 1,
    frame_ids: u64, primitive, 2,
});

pb_msg!(Frame {
    iid: u64, primitive, 1,
    function_name_id: u64, primitive, 2,
    mapping_id: u64, primitive, 3,
    rel_pc: u64, primitive, 4,
    source_path_iid: u64, primitive, 5,
    line_number: u32, primitive, 6,
});

pb_msg!(Mapping {
    iid: u64, primitive, 1,
    build_id: u64, primitive, 2,
    exact_offset: u64, primitive, 8,
    start_offset: u64, primitive, 3,
    start: u64, primitive, 4,
    end: u64, primitive, 5,
    load_bias: u64, primitive, 6,
    path_string_ids: u64, primitive, 7,
});

pb_msg!(ModuleSymbols {
    path: String, primitive, 1,
    build_id: String, primitive, 2,
    address_symbols: AddressSymbols, msg, 3,
});

pb_msg!(AddressSymbols {
    address: u64, primitive, 1,
    lines: Line, msg, 2,
});

pb_msg!(Line {
    function_name: String, primitive, 1,
    source_file_name: String, primitive, 2,
    line_number: u32, primitive, 3,
});

pb_msg!(InternedString {
    iid: u64, primitive, 1,
    str: String, primitive, 2,
});