| // Copyright 2019 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| library fuchsia.sys.internal; |
| |
| /// Identifies a component uniquely within the observing realm. |
| /// Example: hub/r/sys/4566/c/http.cmx/19226 |
| /// realm_path: [root, sys] |
| /// component_url: "fuchsia-pkg://fuchsia.com/http#meta/http.cmx" |
| /// component_name: "http.cmx" |
| /// instance_id: 19226 |
| table SourceIdentity { |
| /// The path to the component from the observing realm. |
| 1: realm_segments realm_path; |
| |
| /// The URL from which the component was loaded. |
| 2: component_url component_url; |
| |
| /// The name of the component. |
| 3: string:COMPONENT_NAME_MAX_LENGTH component_name; |
| |
| /// The ID of the component. |
| 4: string:LABEL_MAX_LENGTH instance_id; |
| }; |