class Filter
Defined at line 20 of file ../../src/developer/debug/debug_agent/filter.h
Public Methods
void Filter (debug_ipc::Filter filter)
Defined at line 22 of file ../../src/developer/debug/debug_agent/filter.h
const debug_ipc::Filter & filter ()
Defined at line 24 of file ../../src/developer/debug/debug_agent/filter.h
std::optional<Filter> MakeRecursiveFilter (const std::string & realm)
Creates a new kComponentMonikerPrefix filter based on the settings of this filter and the given
component |realm|.
Defined at line 75 of file ../../src/developer/debug/debug_agent/filter.cc
bool MatchesJob (const JobHandle & process, SystemInterface & system_interface)
Returns whether the job matches the filter. SystemInterface is needed here
to fetch the component info about the job.
Defined at line 18 of file ../../src/developer/debug/debug_agent/filter.cc
bool MatchesProcess (const ProcessHandle & process, SystemInterface & system_interface)
Returns whether the process matches the filter. SystemInterface is needed here to fetch
the component info about a process and get the parent job of a process.
Defined at line 23 of file ../../src/developer/debug/debug_agent/filter.cc
bool MatchesComponent (const std::string & moniker, const std::string & url)
Returns whether the component matches the filter.
Defined at line 38 of file ../../src/developer/debug/debug_agent/filter.cc
std::vector<debug_ipc::MatchedTask> ApplyToJob (const JobHandle & job, SystemInterface & system_interface)
Returns a list of processes that are under a job and matches the filter.
Defined at line 50 of file ../../src/developer/debug/debug_agent/filter.cc