class Job
Defined at line 630 of file ../../src/lib/zxdump/include/lib/zxdump/task.h
A Job is a Task and also has child jobs and processes.
Public Methods
void ~Job ()
Defined at line 810 of file ../../src/lib/zxdump/read.cc
fit::result<Error, std::reference_wrapper<JobMap>> children ()
This is the same as what you'd get from get_info
<ZX
_INFO_JOB_CHILDREN> and
then get_child on each KOID, but pre-cached. Note the returned map is not
const so the Job references can be non-const, but the caller must not
modify the map itself.
Defined at line 818 of file ../../src/lib/zxdump/read.cc
fit::result<Error, std::reference_wrapper<ProcessMap>> processes ()
This is the same as what you'd get from get_info
<ZX
_INFO_JOB_PROCESSES>
and then get_child on each KOID, but pre-cached. Note the returned map is
not const so the Process references can be non-const, but the caller must
not modify the map itself.
Defined at line 822 of file ../../src/lib/zxdump/read.cc
fit::result<Error, std::reference_wrapper<Task>> find (zx_koid_t koid)
Find a task by KOID: this task or a descendent task.
Defined at line 1574 of file ../../src/lib/zxdump/read.cc
fit::result<Error, std::reference_wrapper<Task>> get_child (zx_koid_t koid)
zxdump::Object::get_child actually just dispatches to this method.
Defined at line 1566 of file ../../src/lib/zxdump/read.cc
Friends
class JobTree