class JobWatcher
Defined at line 23 of file ../../src/performance/experimental/profiler/job_watcher.h
A class which monitors a job using task_create_exception_channel to listen for new processes
created by the job.
Public Methods
zx::result<> Watch (async_dispatcher_t * dispatcher)
Begin monitoring the watched job for new threads. Each new thread will be paused until the
handler has been invoked and completed.
Defined at line 21 of file ../../src/performance/experimental/profiler/job_watcher.cc
void JobWatcher (zx::unowned_job job, fit::function<void (zx_koid_t, zx::process)> handler)
Defined at line 25 of file ../../src/performance/experimental/profiler/job_watcher.h