| // Copyright 2020 Google Inc. All Rights Reserved. |
| // |
| // 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 = "proto3"; |
| option cc_enable_arenas = true; |
| |
| package bloaty_report; |
| |
| message SizeInfo { |
| uint32 file_actual = 1; |
| uint32 vm_actual = 2; |
| } |
| |
| message Symbol { |
| SizeInfo sizes = 1; |
| string name = 2; |
| string maybe_rust_crate = 3; |
| } |
| |
| message CompileUnit { |
| SizeInfo sizes = 1; |
| repeated Symbol symbols = 2; |
| string name = 3; |
| } |
| |
| message Report { |
| repeated CompileUnit compile_units = 1; |
| uint32 file_total = 2; |
| uint32 vm_total = 3; |
| } |