Home
last modified time | relevance | path

Searched refs:AddrFilter (Results 1 – 4 of 4) sorted by relevance

/system/extras/simpleperf/
Devent_selection_set.h69 struct AddrFilter { struct
82 AddrFilter(AddrFilter::Type type, uint64_t addr, uint64_t size, const std::string& file_path) in AddrFilter() argument
135 void SetAddrFilters(std::vector<AddrFilter>&& filters) { addr_filters_ = std::move(filters); } in SetAddrFilters()
218 std::vector<AddrFilter> addr_filters_;
Devent_selection_set.cpp173 std::string AddrFilter::ToString() const { in ToString()
177 case AddrFilter::FILE_START: in ToString()
179 case AddrFilter::FILE_STOP: in ToString()
181 case AddrFilter::KERNEL_RANGE: in ToString()
183 case AddrFilter::KERNEL_START: in ToString()
185 case AddrFilter::KERNEL_STOP: in ToString()
716 (filter.type == AddrFilter::FILE_RANGE || filter.type == AddrFilter::KERNEL_RANGE) ? 2 : 1; in ApplyAddrFilters()
Dcmd_record_impl.h27 struct AddrFilter;
29 std::vector<AddrFilter> ParseAddrFilterOption(const std::string& s);
Dcmd_record.cpp2238 static bool ParseOneAddrFilter(const std::string& s, std::vector<AddrFilter>* filters) { in ParseOneAddrFilter()
2253 filters->emplace_back(AddrFilter::KERNEL_START, addr1, 0, ""); in ParseOneAddrFilter()
2259 filters->emplace_back(AddrFilter::FILE_START, off1, 0, path); in ParseOneAddrFilter()
2267 filters->emplace_back(AddrFilter::KERNEL_STOP, addr1, 0, ""); in ParseOneAddrFilter()
2273 filters->emplace_back(AddrFilter::FILE_STOP, off1, 0, path); in ParseOneAddrFilter()
2282 filters->emplace_back(AddrFilter::KERNEL_RANGE, addr1, addr2 - addr1, ""); in ParseOneAddrFilter()
2289 filters->emplace_back(AddrFilter::FILE_RANGE, off1, off2 - off1, path); in ParseOneAddrFilter()
2300 filters->emplace_back(AddrFilter::FILE_RANGE, seg.file_offset, seg.file_size, path); in ParseOneAddrFilter()
2309 std::vector<AddrFilter> ParseAddrFilterOption(const std::string& s) { in ParseAddrFilterOption()
2310 std::vector<AddrFilter> filters; in ParseAddrFilterOption()