class JsonTaskEnumerator

Defined at line 15 of file ../../src/sys/bin/psutils/memgraph_internal.h

Public Methods

void JsonTaskEnumerator (zx_koid_t self_koid, bool show_threads, bool show_vmos, bool show_handle_stats, std::ostream & out)

|self_koid| is the koid of this memgraph process, so we can

avoid trying to read our own VMOs (which is illegal).

Defined at line 127 of file ../../src/sys/bin/psutils/memgraph_internal.cc

const std::vector<zx_status_t> & partial_failures ()

Defined at line 135 of file ../../src/sys/bin/psutils/memgraph_internal.cc

zx_status_t OnJob (int depth, zx_handle_t job, zx_koid_t koid, zx_koid_t parent_koid)

Defined at line 145 of file ../../src/sys/bin/psutils/memgraph_internal.cc

zx_status_t OnProcess (int depth, zx_handle_t process, zx_koid_t koid, zx_koid_t parent_koid)

Defined at line 172 of file ../../src/sys/bin/psutils/memgraph_internal.cc

zx_status_t OnThread (int depth, zx_handle_t thread, zx_koid_t koid, zx_koid_t parent_koid)

Defined at line 266 of file ../../src/sys/bin/psutils/memgraph_internal.cc

Protected Methods

bool has_on_job ()

Defined at line 139 of file ../../src/sys/bin/psutils/memgraph_internal.cc

bool has_on_process ()

Defined at line 141 of file ../../src/sys/bin/psutils/memgraph_internal.cc

bool has_on_thread ()

Defined at line 143 of file ../../src/sys/bin/psutils/memgraph_internal.cc