class ProcessTree
Defined at line 18 of file ../../src/developer/forensics/feedback/attachments/process_tree.h
AttachmentProvider that generates a snapshot attachment ("process_tree.txt")
containing a hierarchical text description of jobs, processes, and threads in Zircon
(equivalent to `fx shell ps -T`).
Public Methods
void ProcessTree (zx::job job)
Takes ownership of a handle to a job (typically the root job) from which to walk
the task tree.
Defined at line 309 of file ../../src/developer/forensics/feedback/attachments/process_tree.cc
::fpromise::promise<AttachmentData> Get (uint64_t ticket)
Returns a promise containing the process tree string table as an AttachmentData.
Returns Error::kMissingValue if the root job handle is invalid or tree walking fails.
Defined at line 311 of file ../../src/developer/forensics/feedback/attachments/process_tree.cc
void ForceCompletion (uint64_t ticket, Error error)
Completes the process tree collection promise associated with |ticket| early, if it hasn't
already completed (no-op as collection runs synchronously).
Defined at line 330 of file ../../src/developer/forensics/feedback/attachments/process_tree.cc