blob: 4b921d3058f3942d0df2d7dd64914eb610b14404 [file] [log] [blame]
// Copyright 2023 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.diagnostics;
using fuchsia.inspect;
@available(added=HEAD)
const MAX_NAME_LENGTH uint64 = 4096;
@available(added=HEAD)
@discoverable
protocol InspectSink {
/// Publishes a handle to the `fuchsia.inspect.Tree` protocol that the server can use to read
/// Inspect data, including lazy nodes.
Publish(resource table {
1: tree client_end:fuchsia.inspect.Tree;
2: name string:MAX_NAME_LENGTH;
});
};