Searched refs:LOG_PRINTF (Results 1 – 8 of 8) sorted by relevance
| /misc/services/life_mngr/ |
| A D | config.c | 28 LOG_PRINTF("Failed to create folder (%s)\n", path); in check_dir() 33 LOG_PRINTF("%s doesn't exist!\n", path); in check_dir() 54 LOG_PRINTF("%s %d\r\n", __func__, __LINE__); in load_config() 59 LOG_PRINTF("Failed to open config file: %s", conf_path); in load_config() 73 LOG_PRINTF("Config file: config item (%s) is invalid\n", buf); in load_config() 77 LOG_PRINTF("Config file: key=%s, value=%s\n", key_str, value_str); in load_config() 91 LOG_PRINTF("Invalid item in the configuration file, key=%s, value=%s\n", in load_config()
|
| A D | uart_channel.c | 34 LOG_PRINTF("Device fd:%d, VM name:%s\n", in parse_channel_dev_id() 58 LOG_PRINTF("Lifecycle manager in service VM fd=%d tty node=%s\n", in listen_uart_channel_dev() 74 LOG_PRINTF("Receive sync message from user VM (%s), start to talk.\n", in listen_uart_channel_dev() 82 LOG_PRINTF("Lifecycle manager stops to listen device:%s\n", in listen_uart_channel_dev() 147 LOG_PRINTF("Resend (%s) to (%s)\n", c_dev->resend_buf, c_dev->name); in poll_and_dispatch_uart_channel_events() 165 LOG_PRINTF("Lifecycle manager stops to poll device:%s\n", in poll_and_dispatch_uart_channel_events() 217 LOG_PRINTF("Stop to listen uart device (%s)\n", in stop_listen_uart_channel_dev() 246 LOG_PRINTF("Timeout of receiving ACK message from (%s)\n", c_dev->name); in stop_uart_channel_dev_resend() 263 LOG_PRINTF("Send (%s) to (%s)\n", msg, c_dev->name); in notify_all_connected_uart_channel_dev() 288 LOG_PRINTF("Failed to initialize UART device %s\n", path); in create_uart_channel_dev() [all …]
|
| A D | command_handler.c | 121 LOG_PRINTF("Send acked message to unix socket, message=%s\n", ack); in send_socket_ack() 161 LOG_PRINTF("Foward (%s) to user VM (%s) by UART\n", msg, c_dev->name); in req_user_vm_shutdown_reboot() 165 LOG_PRINTF("Failed to foward (%s) to user VM by UART\n", msg); in req_user_vm_shutdown_reboot() 195 LOG_PRINTF("Foward (%s) req to service VM by UART\n", msg); in req_system_shutdown_reboot() 199 LOG_PRINTF("Failed to foward (%s) to service VM by UART\n", msg); in req_system_shutdown_reboot() 242 LOG_PRINTF("Receive sync message from user VM (%s), start to talk.\n", in sync_cmd_handler() 262 LOG_PRINTF("Receive reboot request from user VM (%s)\n", c_dev->name); in req_reboot_handler() 298 LOG_PRINTF("Receive shutdown request from user VM (%s)\n", c_dev->name); in req_shutdown_handler() 326 LOG_PRINTF("Receive poweroff ACK from user VM (%s)\n", c_dev->name); in ack_poweroff_handler() 366 LOG_PRINTF("Receive (%s) from user VM (%s)\n", ack_msg, c_dev->name); in ack_user_vm_cmd() [all …]
|
| A D | command.c | 52 LOG_PRINTF("Invalid command, fd=%d\n", fd); in dispatch_command_handlers() 55 LOG_PRINTF("Handle command (%s) in command monitor\n", cmd->name); in dispatch_command_handlers() 62 LOG_PRINTF("Command handler ret=%d\n", ret); in dispatch_command_handlers() 64 LOG_PRINTF("No handler for command:%s\r\n", cmd->name); in dispatch_command_handlers() 82 LOG_PRINTF("%s:Failed to register command_handler\n", __func__); in register_command_handler() 87 LOG_PRINTF("%s:invalid command name (%s)\r\n", __func__, cmd_name); in register_command_handler()
|
| A D | uart.c | 79 LOG_PRINTF("Error from tcgetattr: %s\n", strerror(errno)); in set_tty_attr() 107 LOG_PRINTF("Error from tcsetattr: %s\n", strerror(errno)); in set_tty_attr() 127 LOG_PRINTF("Open tty device:%s, fd=%d\n", tty_path, fd); in tty_listen_setup() 137 LOG_PRINTF("UART device name:%s\n", path); in init_uart_dev() 140 LOG_PRINTF("Failed to alloc mem for uart device %s\n", path); in init_uart_dev() 148 LOG_PRINTF("Failed to setup uart device %s\n", path); in init_uart_dev() 157 LOG_PRINTF("Close device: %s\n", dev->tty_path); in deinit_uart_dev()
|
| A D | socket.c | 42 LOG_PRINTF("Start to listen:%s\r\n", sock_path); in setup_and_listen_unix_socket() 99 LOG_PRINTF("Socket client name:%s\n", client->name); in parse_socket_client_name() 128 LOG_PRINTF("Socket Disconnect(%d)!\r\n", client->fd); in read_socket_char() 140 LOG_PRINTF("Receive data:(%s)\n", client->buf); in read_socket_char() 152 LOG_PRINTF("%s: failed to allocate memory for client\n", in new_socket_client() 163 LOG_PRINTF("%s: Failed to accept from fd %d, err: %s\n", in new_socket_client() 184 LOG_PRINTF("Socket Listening %d...\n", sock->sock_fd); in listen_socket_client() 197 LOG_PRINTF("Socket Connected:%d\n", client->fd); in listen_socket_client() 200 LOG_PRINTF("Stop listening %d...\n", sock->sock_fd); in listen_socket_client() 213 LOG_PRINTF("Socket polling %d...\n", sock->sock_fd); in socket_poll_events() [all …]
|
| A D | monitor.c | 42 LOG_PRINTF("Command [%s] is not supported, fd=%d\n", cmd_name, fd); in monitor_cmd_dispatch() 62 LOG_PRINTF("Failed to create uart channel device for %s\n", dev_name); in create_service_vm_uart_channel_dev() 80 LOG_PRINTF("%s %d\r\n", __func__, __LINE__); in init_socket_server_and_shutdown_commands()
|
| A D | log.h | 20 #define LOG_PRINTF(format, args...) \ macro
|
Completed in 10 milliseconds