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() function
132 void SetAddrFilters(std::vector<AddrFilter>&& filters) { addr_filters_ = std::move(filters); } in SetAddrFilters()
215 std::vector<AddrFilter> addr_filters_;
Devent_selection_set.cpp148 std::string AddrFilter::ToString() const { in ToString()
152 case AddrFilter::FILE_START: in ToString()
154 case AddrFilter::FILE_STOP: in ToString()
156 case AddrFilter::KERNEL_RANGE: in ToString()
158 case AddrFilter::KERNEL_START: in ToString()
160 case AddrFilter::KERNEL_STOP: in ToString()
660 (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.cpp2009 static bool ParseOneAddrFilter(const std::string& s, std::vector<AddrFilter>* filters) { in ParseOneAddrFilter()
2024 filters->emplace_back(AddrFilter::KERNEL_START, addr1, 0, ""); in ParseOneAddrFilter()
2030 filters->emplace_back(AddrFilter::FILE_START, off1, 0, path); in ParseOneAddrFilter()
2038 filters->emplace_back(AddrFilter::KERNEL_STOP, addr1, 0, ""); in ParseOneAddrFilter()
2044 filters->emplace_back(AddrFilter::FILE_STOP, off1, 0, path); in ParseOneAddrFilter()
2053 filters->emplace_back(AddrFilter::KERNEL_RANGE, addr1, addr2 - addr1, ""); in ParseOneAddrFilter()
2060 filters->emplace_back(AddrFilter::FILE_RANGE, off1, off2 - off1, path); in ParseOneAddrFilter()
2071 filters->emplace_back(AddrFilter::FILE_RANGE, seg.file_offset, seg.file_size, path); in ParseOneAddrFilter()
2080 std::vector<AddrFilter> ParseAddrFilterOption(const std::string& s) { in ParseAddrFilterOption()
2081 std::vector<AddrFilter> filters; in ParseAddrFilterOption()