Home | History | Annotate | Download | only in qtools

Lines Matching full:region_type

24         typedef region_entry region_type;
42 region_type *region;
87 } region_type;
89 typedef typename HashTable<region_type*>::entry_type hash_entry_type;
189 region_type **regions;
226 void AddPredefinedRegion(region_type *region, const char *path,
229 void InitRegionSymbols(region_type *region, int nsymbols);
230 void AddRegionSymbol(region_type *region, int idx,
235 bool ReadElfSymbols(region_type *region, uint32_t flags);
236 void AddRegion(ProcessState *pstate, region_type *region);
237 region_type *FindRegion(uint32_t addr, int nregions,
238 region_type **regions);
240 region_type **regions);
247 region_type *region);
263 HashTable<region_type*> *hash_;
291 hash_ = new HashTable<region_type*>(512);
301 region_type *region = ptr->value;
303 if ((region->flags & region_type::kSharedSymbols) == 0) {
369 typedef typename TraceReader<T>::region_type rtype;
390 region_type *region = ptr->value;
401 region_type *region = ptr->value;
459 void TraceReader<T>::AddPredefinedRegion(region_type *region, const char *path,
470 region->flags = region_type
474 void TraceReader<T>::InitRegionSymbols(region_type *region, int nsymbols)
482 void TraceReader<T>::AddRegionSymbol(region_type *region, int idx,
496 region_type *region = new region_type;
504 region = new region_type;
514 region = new region_type;
520 region->flags |= region_type::kIsUserMappedRegion;
534 region_type *region = new region_type;
539 region->flags = region_type::kIsKernelRegion;
581 bool TraceReader<T>::ReadElfSymbols(region_type *region, uint32_t flags)
882 region_type **regions = processes_[0]->regions;
884 if (regions[ii]->flags & region_type::kIsKernelRegion) {
897 region_type **regions = pstate->regions;
919 void TraceReader<T>::AddRegion(ProcessState *pstate, region_type *region)
924 manager->regions = new region_type*[manager->max_regions];
934 region_type **regions = new region_type*[max_regions];
948 qsort(manager->regions, nregions, sizeof(region_type*), cmp_region_addr<T>);
958 region_type *region = manager->regions[index];
981 qsort(manager->regions, nregions - 1, sizeof(region_type*),
993 region_type *truncated;
1001 truncated = region->MakePrivateCopy(new region_type);
1016 region_type **regions = new region_type*[manager->max_regions];
1018 memcpy(regions, manager->regions, nregions * sizeof(region_type*));
1041 typename TraceReader<T>::region_type *
1042 TraceReader<T>::FindRegion(uint32_t addr, int nregions, region_type **regions)
1066 region_type **regions)
1150 region_type *region = FindRegion(addr, manager->nregions, manager->regions);
1261 region_type *region;
1262 region_type *existing_region = hash_->Find(event->path);
1269 region = new region_type;
1288 region->flags |= region_type::kSharedSymbols;
1302 region->flags |= region_type::kIsLibraryRegion;
1461 region_type *region = FindRegion(addr, manager->nregions, manager->regions);
1507 region_type *region)