class TaskFinder
Defined at line 19 of file ../../src/performance/experimental/profiler/taskfinder.h
A Wrapper Implementation of TaskEnumerator that allows us to specify a list of handles to look
for based on koids.
Public Methods
zx::result<FoundTasks> FindHandles ()
Defined at line 12 of file ../../src/performance/experimental/profiler/taskfinder.cc
zx_status_t OnJob (int depth, zx_handle_t job, zx_koid_t koid, zx_koid_t parent_koid)
Each of these methods visits the corresponding task type. If any On*()
method returns a value other than ZX_OK, the enumeration stops. See
|task_callback_t| for a description of parameters.
Defined at line 23 of file ../../src/performance/experimental/profiler/taskfinder.cc
bool Empty ()
Defined at line 30 of file ../../src/performance/experimental/profiler/taskfinder.h
zx_status_t OnProcess (int depth, zx_handle_t process, zx_koid_t koid, zx_koid_t parent_koid)
Defined at line 36 of file ../../src/performance/experimental/profiler/taskfinder.cc
void TaskFinder ()
Defined at line 39 of file ../../src/performance/experimental/profiler/taskfinder.h
void ~TaskFinder ()
Defined at line 40 of file ../../src/performance/experimental/profiler/taskfinder.h
void AddJob (zx_koid_t job)
Defined at line 42 of file ../../src/performance/experimental/profiler/taskfinder.h
void AddProcess (zx_koid_t process)
Defined at line 43 of file ../../src/performance/experimental/profiler/taskfinder.h
void AddThread (zx_koid_t thread)
Defined at line 44 of file ../../src/performance/experimental/profiler/taskfinder.h
zx_status_t OnThread (int depth, zx_handle_t process, zx_koid_t koid, zx_koid_t parent_koid)
Defined at line 50 of file ../../src/performance/experimental/profiler/taskfinder.cc
Protected Methods
bool has_on_job ()
Defined at line 47 of file ../../src/performance/experimental/profiler/taskfinder.h
bool has_on_process ()
Defined at line 48 of file ../../src/performance/experimental/profiler/taskfinder.h
bool has_on_thread ()
Defined at line 49 of file ../../src/performance/experimental/profiler/taskfinder.h