Android-cuttlefish cvd tool
Namespaces | Functions
main.cc File Reference
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#include <unistd.h>
#include <cstdlib>
#include <string>
#include <vector>
#include <android-base/logging.h>
#include <android-base/strings.h>
#include <gflags/gflags.h>
#include <json/value.h>
#include "cuttlefish/common/libs/fs/shared_fd.h"
#include "cuttlefish/common/libs/fs/shared_select.h"
#include "cuttlefish/host/libs/config/cuttlefish_config.h"
#include "cuttlefish/host/libs/config/logging.h"
#include "cuttlefish/host/commands/kernel_log_monitor/kernel_log_server.h"
#include "cuttlefish/host/commands/kernel_log_monitor/utils.h"
Include dependency graph for main.cc:

Namespaces

namespace  cuttlefish
 
namespace  cuttlefish::monitor
 
namespace  cuttlefish::monitor::anonymous_namespace{main.cc}
 

Functions

 DEFINE_int32 (log_pipe_fd, -1, "A file descriptor representing a (UNIX) socket from which to " "read the logs. If -1 is given the socket is created according to " "the instance configuration")
 
 DEFINE_string (subscriber_fds, "", "A comma separated list of file descriptors (most likely pipes) to" " send kernel log events to.")
 
std::vector< SharedFD > cuttlefish::monitor::anonymous_namespace{main.cc}::SubscribersFromCmdline ()
 
int cuttlefish::monitor::anonymous_namespace{main.cc}::KernelLogMonitorMain (int argc, char **argv)
 
int main (int argc, char **argv)
 

Function Documentation

◆ DEFINE_int32()

DEFINE_int32 ( log_pipe_fd  ,
1,
"A file descriptor representing a (UNIX) socket from which to " "read the logs. If -1 is given the socket is created according to " "the instance configuration"   
)

◆ DEFINE_string()

DEFINE_string ( subscriber_fds  ,
""  ,
"A comma separated list of file descriptors (most likely pipes) to" " send kernel log events to."   
)

◆ main()

int main ( int  argc,
char **  argv 
)