blob: c8148a8c9e1aa31b3669372b3942c6346be913d6 [file] [log] [blame]
// Copyright 2020 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;
using zx;
[Discoverable]
// Provides introspection information about crashed threads in appmgr.
protocol CrashIntrospect {
// Finds the component whose job contains a process with a thread `thread_koid`.
// This can only be called for threads that have crashed and once per `thread_koid`. Subsequent
// calls will return |ZX_ERR_NOT_FOUND|.
// Returns component's source identity.
// Errors:
// - `ZX_ERR_NOT_FOUND`: If thread_koid is not found in the crashed thread list.
FindComponentByThreadKoid(zx.koid thread_koid) -> (SourceIdentity component_info) error zx.status;
};