Searched refs:server_path (Results 1 - 4 of 4) sorted by relevance

/system/extras/simpleperf/
H A DUnixSocket.cpp30 static bool CreateUnixSocketAddress(const std::string& server_path, argument
40 if (server_path.size() + 1 > sun_path_len) {
42 << server_path;
45 strcpy(p, server_path.c_str());
50 const std::string& server_path, bool is_abstract) {
57 if (!CreateUnixSocketAddress(server_path, is_abstract, serv_addr)) {
62 PLOG(ERROR) << "bind() failed for " << server_path;
70 new UnixSocketServer(sockfd, server_path));
86 const std::string& server_path, bool is_abstract) {
93 if (!CreateUnixSocketAddress(server_path, is_abstrac
49 Create( const std::string& server_path, bool is_abstract) argument
85 Connect( const std::string& server_path, bool is_abstract) argument
[all...]
H A DUnixSocket.h106 const std::string& server_path, bool is_abstract);
149 const std::string& server_path, bool is_abstract);
H A Dinplace_sampler_lib.cpp326 std::string server_path = "inplace_sampler_server_" + std::to_string(getpid()); local
327 std::unique_ptr<UnixSocketServer> server = UnixSocketServer::Create(server_path, true);
329 LOG(ERROR) << "failed to create server at path " << server_path;
332 LOG(INFO) << "Create inplace_sampler_server at " << server_path;
H A DInplaceSamplerClient.cpp56 std::string server_path = "inplace_sampler_server_" + std::to_string(pid_); local
60 conn_ = UnixSocketConnection::Connect(server_path, true);

Completed in 263 milliseconds