Lines Matching refs:bin_path

35 Location::Location(uint64_t addr, const std::string &bin_path, const char *arg_fmt)  in Location()  argument
37 bin_path_(bin_path) { in Location()
54 Probe::Probe(const char *bin_path, const char *provider, const char *name, in Probe() argument
56 : bin_path_(bin_path), in Probe()
63 bool Probe::in_shared_object(const std::string &bin_path) { in in_shared_object() argument
64 if (object_type_map_.find(bin_path) == object_type_map_.end()) { in in_shared_object()
66 return (object_type_map_[bin_path] = bcc_elf_is_shared_obj(bin_path.c_str())); in in_shared_object()
68 return object_type_map_[bin_path]; in in_shared_object()
71 bool Probe::resolve_global_address(uint64_t *global, const std::string &bin_path, in resolve_global_address() argument
73 if (in_shared_object(bin_path)) { in resolve_global_address()
75 !bcc_resolve_global_addr(*pid_, bin_path.c_str(), addr, global)); in resolve_global_address()
214 void Probe::add_location(uint64_t addr, const std::string &bin_path, const char *fmt) { in add_location() argument
215 locations_.emplace_back(addr, bin_path, fmt); in add_location()
263 std::string Context::resolve_bin_path(const std::string &bin_path) { in resolve_bin_path() argument
266 if (char *which = bcc_procutils_which(bin_path.c_str())) { in resolve_bin_path()
269 } else if (char *which_so = bcc_procutils_which_so(bin_path.c_str(), 0)) { in resolve_bin_path()
324 info.bin_path = probe->bin_path().c_str(); in each()
345 Context::Context(const std::string &bin_path) in Context() argument
347 std::string full_path = resolve_bin_path(bin_path); in Context()
371 Context::Context(int pid, const std::string &bin_path) in Context() argument
374 std::string full_path = resolve_bin_path(bin_path); in Context()
499 location->bin_path = probe->location_bin_path(index); in bcc_usdt_get_location()