struct ListenEndpoint
Defined at line 44 of file ../../third_party/perfetto/include/perfetto/ext/tracing/ipc/service_ipc_host.h
The argument passed to ServiceIPCHost::Start. Can be either:
1. a socket name (e.g., "/dev/unix/socket" for AF_UNIX, "127.0.0.1:1234" for
TCP, "vsock://1:1234")
2. A FD of a pre-bound socket. This handles the case of Android in-tree
builds where init creates the socket and passes the FD in env var
(See perfetto.rc).
3. A pre-existing ipc::Host object.
Public Members
basic_string sock_name
ScopedResource sock_handle
unique_ptr ipc_host
Public Methods
void ListenEndpoint (const char * socket_name)
void ListenEndpoint (std::string socket_name)
void ListenEndpoint (base::ScopedSocketHandle )
void ListenEndpoint (std::unique_ptr<ipc::Host> )
void ~ListenEndpoint ()
void ListenEndpoint (ListenEndpoint && )
Allow move but not copy.
void ListenEndpoint (const ListenEndpoint & )
Defined at line 54 of file ../../third_party/perfetto/include/perfetto/ext/tracing/ipc/service_ipc_host.h
ListenEndpoint & operator= (ListenEndpoint && )
ListenEndpoint & operator= (const ListenEndpoint & )
Defined at line 55 of file ../../third_party/perfetto/include/perfetto/ext/tracing/ipc/service_ipc_host.h