Searched refs:server_path (Results 1 – 4 of 4) sorted by relevance
/system/extras/simpleperf/ |
D | UnixSocket.cpp | 30 static bool CreateUnixSocketAddress(const std::string& server_path, in CreateUnixSocketAddress() argument 40 if (server_path.size() + 1 > sun_path_len) { in CreateUnixSocketAddress() 42 << server_path; in CreateUnixSocketAddress() 45 strcpy(p, server_path.c_str()); in CreateUnixSocketAddress() 50 const std::string& server_path, bool is_abstract) { in Create() argument 57 if (!CreateUnixSocketAddress(server_path, is_abstract, serv_addr)) { in Create() 62 PLOG(ERROR) << "bind() failed for " << server_path; in Create() 70 new UnixSocketServer(sockfd, server_path)); in Create() 86 const std::string& server_path, bool is_abstract) { in Connect() argument 93 if (!CreateUnixSocketAddress(server_path, is_abstract, serv_addr)) { in Connect() [all …]
|
D | inplace_sampler_lib.cpp | 326 std::string server_path = "inplace_sampler_server_" + std::to_string(getpid()); in CommunicationThread() local 327 std::unique_ptr<UnixSocketServer> server = UnixSocketServer::Create(server_path, true); in CommunicationThread() 329 LOG(ERROR) << "failed to create server at path " << server_path; in CommunicationThread() 332 LOG(INFO) << "Create inplace_sampler_server at " << server_path; in CommunicationThread()
|
D | UnixSocket.h | 106 const std::string& server_path, bool is_abstract); 149 const std::string& server_path, bool is_abstract);
|
D | InplaceSamplerClient.cpp | 56 std::string server_path = "inplace_sampler_server_" + std::to_string(pid_); in ConnectServer() local 60 conn_ = UnixSocketConnection::Connect(server_path, true); in ConnectServer()
|