Home
last modified time | relevance | path

Searched refs:locations_ (Results 1 – 9 of 9) sorted by relevance

/external/bcc/src/cc/usdt/
Dusdt.cc150 for (Location &location : locations_) { in largest_arg_type()
169 const size_t arg_count = locations_[0].arguments_.size(); in usdt_getarg()
184 if (locations_.size() == 1) { in usdt_getarg()
185 Location &location = locations_.front(); in usdt_getarg()
193 for (Location &location : locations_) { in usdt_getarg()
215 locations_.emplace_back(addr, bin_path, fmt); in add_location()
219 std::sort(locations_.begin(), locations_.end(), in finalize_locations()
223 auto last = std::unique(locations_.begin(), locations_.end(), in finalize_locations()
227 locations_.erase(last, locations_.end()); in finalize_locations()
338 for (Location &loc : p->locations_) { in each_uprobe()
/external/perfetto/tools/protoprofile/
Dmain.cc121 std::map<std::string, int> locations_; member in perfetto::protoprofile::__anonc3fe7d5d0111::SizeProfileComputer
151 if (locations_.count(s)) { in InternLocation()
152 return locations_[s]; in InternLocation()
154 int id = static_cast<int>(locations_.size()) + 1; in InternLocation()
155 locations_[s] = id; in InternLocation()
243 for (const auto& location_id : locations_) { in Compute()
250 for (const auto& location_id : locations_) { in Compute()
/external/bcc/src/cc/
Dusdt.h189 std::vector<Location> locations_; variable
210 size_t num_locations() const { return locations_.size(); } in num_locations()
211 size_t num_arguments() const { return locations_.front().arguments_.size(); } in num_arguments()
214 uint64_t address(size_t n = 0) const { return locations_[n].address_; }
215 const char *location_bin_path(size_t n = 0) const { return locations_[n].bin_path_.c_str(); }
216 const Location &location(size_t n) const { return locations_[n]; } in location()
/external/bcc/src/cc/includes/
Dusdt.h189 std::vector<Location> locations_; variable
210 size_t num_locations() const { return locations_.size(); } in num_locations()
211 size_t num_arguments() const { return locations_.front().arguments_.size(); } in num_arguments()
214 uint64_t address(size_t n = 0) const { return locations_[n].address_; }
215 const char *location_bin_path(size_t n = 0) const { return locations_[n].bin_path_.c_str(); }
216 const Location &location(size_t n) const { return locations_[n]; } in location()
/external/perfetto/tools/trace_to_text/
Dpprof_builder.cc210 auto it = locations_.find(loc); in InternLocation()
211 if (it == locations_.end()) { in InternLocation()
213 std::tie(it, inserted) = locations_.emplace( in InternLocation()
214 std::move(loc), static_cast<int64_t>(locations_.size())); in InternLocation()
250 return locations_; in AllLocations()
259 std::unordered_map<Location, int64_t> locations_; member in perfetto::trace_to_text::__anonb9473e550211::LocationTracker
429 : locations_(locations), interner_(interner) { in GProfileBuilder()
448 const auto& location_ids = locations_.LocationsForCallstack(callstack_id); in AddSample()
490 locations_.AllLocations(); in WriteLocations()
535 locations_.AllFunctions(); in WriteFunctions()
[all …]
/external/tensorflow/tensorflow/compiler/xla/python/
Dpy_client.cc194 absl::flat_hash_map<std::pair<PyCodeObject*, int>, int> locations_; member in xla::ProfileBuilder
224 auto ret = locations_.emplace(std::make_pair(code, instruction), in LocationId()
/external/bcc/src/cc/api/
DBPF.cc238 for (const auto& loc : probe.locations_) { in attach_usdt()
253 detach_uprobe(probe.locations_[i].bin_path_, std::string(), in attach_usdt()
254 probe.locations_[i].address_, BPF_PROBE_ENTRY, pid); in attach_usdt()
420 for (const auto& loc : probe.locations_) { in detach_usdt()
/external/protobuf/src/google/protobuf/
Dtext_format.h502 LocationMap locations_; variable
Dtext_format.cc142 locations_[field].push_back(location); in RecordLocation()
177 FindOrNull(locations_, field); in GetLocation()