Namespaces

Records

Functions

  • profiler::ComponentWatcher::ComponentEventHandler MakeOnStartHandler (fxl::WeakPtr<profiler::Sampler> sampler)

    Defined at line 136 of file ../../src/performance/experimental/profiler/component.cc

  • zx::result<> TraverseRealm (const std::string & moniker, const fit::function<zx::result<> (const std::string &)> & f)

    Given a moniker `moniker` and function `f`, call `f` on `moniker` and each child of `moniker`.

    The results are `and`ed together, short circuiting and returning early on any failure.

    Defined at line 175 of file ../../src/performance/experimental/profiler/component.cc

  • zx::result<std::map<std::vector<std::byte>, profiler::Module>> GetProcessModules (const zx::process & , elf_search::Searcher & searcher)

    Defined at line 473 of file ../../src/performance/experimental/profiler/targets.cc

  • zx::result<profiler::ProcessTarget> MakeProcessTarget (zx::process process, elf_search::Searcher & searcher)

    Given a process, create a process target containing it and all its threads

    Defined at line 184 of file ../../src/performance/experimental/profiler/targets.cc

  • zx::result<profiler::JobTarget> MakeJobTarget (zx::job job, std::span<const zx_koid_t> ancestry, elf_search::Searcher & searcher)

    Given a job, create a job target containing it, its processes, their threads, and its child

    jobs. Additionally, the created job will be given the ancestry specified by `ancestry`.

    Defined at line 226 of file ../../src/performance/experimental/profiler/targets.cc

  • zx::result<profiler::JobTarget> MakeJobTarget (zx::job jobelf_search::Searcher & searcher)

    Given a job, create a job target containing it, its processes, their threads, and its child

    jobs. The resulting job will have no parent or ancestors.

    Defined at line 333 of file ../../src/performance/experimental/profiler/targets.cc