Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Devent_selection_set.h67 struct AddrFilter { struct
80 AddrFilter(AddrFilter::Type type, uint64_t addr, uint64_t size, const std::string& file_path) in AddrFilter() argument
128 void SetAddrFilters(std::vector<AddrFilter>&& filters) { in SetAddrFilters()
218 std::vector<AddrFilter> addr_filters_;
Devent_selection_set.cpp138 std::string AddrFilter::ToString() const { in ToString()
142 case AddrFilter::FILE_START: in ToString()
144 case AddrFilter::FILE_STOP: in ToString()
146 case AddrFilter::KERNEL_RANGE: in ToString()
148 case AddrFilter::KERNEL_START: in ToString()
150 case AddrFilter::KERNEL_STOP: in ToString()
651 (filter.type == AddrFilter::FILE_RANGE || filter.type == AddrFilter::KERNEL_RANGE) ? 2 : 1; in ApplyAddrFilters()
Dcmd_record_impl.h24 struct AddrFilter;
28 std::vector<AddrFilter> ParseAddrFilterOption(const std::string& s);
Dcmd_record.cpp1851 static bool ParseOneAddrFilter(const std::string& s, std::vector<AddrFilter>* filters) { in ParseOneAddrFilter()
1865 args[0] == "start" ? AddrFilter::KERNEL_START : AddrFilter::KERNEL_STOP, addr1, 0, ""); in ParseOneAddrFilter()
1871 filters->emplace_back(args[0] == "start" ? AddrFilter::FILE_START : AddrFilter::FILE_STOP, in ParseOneAddrFilter()
1882 filters->emplace_back(AddrFilter::FILE_RANGE, seg.file_offset, seg.file_size, args[1]); in ParseOneAddrFilter()
1891 filters->emplace_back(AddrFilter::KERNEL_RANGE, addr1, addr2 - addr1, ""); in ParseOneAddrFilter()
1898 filters->emplace_back(AddrFilter::FILE_RANGE, off1, off2 - off1, path); in ParseOneAddrFilter()
1906 std::vector<AddrFilter> ParseAddrFilterOption(const std::string& s) { in ParseAddrFilterOption()
1907 std::vector<AddrFilter> filters; in ParseAddrFilterOption()