Home
last modified time | relevance | path

Searched refs:nxt_debug (Results 1 – 25 of 73) sorted by relevance

123

/unit/src/
H A Dnxt_socketpair.c31 nxt_debug(task, "socketpair(): %d:%d", pair[0], pair[1]); in nxt_socketpair_create()
100 nxt_debug(ev->task, "sendmsg(%d, %FD, %FD, %ui): %z", ev->fd, fd[0], in nxt_socketpair_send()
112 nxt_debug(ev->task, "sendmsg(%d) not ready", ev->fd); in nxt_socketpair_send()
119 nxt_debug(ev->task, "sendmsg(%d) no buffers", ev->fd); in nxt_socketpair_send()
123 nxt_debug(ev->task, "sendmsg(%d) interrupted", ev->fd); in nxt_socketpair_send()
152 nxt_debug(ev->task, "recvmsg(%d, %ui, %uz): %z", in nxt_socketpair_recv()
171 nxt_debug(ev->task, "recvmsg(%d) not ready", ev->fd); in nxt_socketpair_recv()
177 nxt_debug(ev->task, "recvmsg(%d) interrupted", ev->fd); in nxt_socketpair_recv()
H A Dnxt_fiber.c151 nxt_debug(task, "fiber stack mmap: %p", s); in nxt_fiber_create_stack()
184 nxt_debug(task, "fiber stack mmap: %p", s); in nxt_fiber_create_stack()
253 nxt_debug(task, "fiber start"); in nxt_fiber_trampoline()
314 nxt_debug(task, "fiber start"); in nxt_fiber_trampoline()
371 nxt_debug(task, "fiber yield"); in nxt_fiber_yield()
380 nxt_debug(task, "fiber yield return"); in nxt_fiber_yield()
408 nxt_debug(task, "fiber sleep return"); in nxt_fiber_sleep()
420 nxt_debug(task, "fiber timer handler"); in nxt_fiber_timer_handler()
438 nxt_debug(task, "fiber wait"); in nxt_fiber_wait()
445 nxt_debug(task, "fiber wait return"); in nxt_fiber_wait()
[all …]
H A Dnxt_conn_write.c27 nxt_debug(task, "conn write fd:%d er:%d bl:%d", in nxt_conn_io_write()
87 nxt_debug(task, "event conn: %z sent:%O", ret, sb.sent); in nxt_conn_io_write()
154 nxt_debug(task, "conn write timer"); in nxt_conn_write_timer_handler()
224 nxt_debug(task, "sendfile() %E", err); in nxt_conn_io_sendfile()
229 nxt_debug(task, "sendfile() %E", err); in nxt_conn_io_sendfile()
325 nxt_debug(task, "writev() %E", err); in nxt_conn_io_writev()
330 nxt_debug(task, "writev() %E", err); in nxt_conn_io_writev()
367 nxt_debug(task, "send() %E", err); in nxt_conn_io_send()
372 nxt_debug(task, "send() %E", err); in nxt_conn_io_send()
521 nxt_debug(c->socket.task, "send() %E", err); in nxt_event_conn_io_send()
[all …]
H A Dnxt_timer.c78 nxt_debug(timer->task, "timer add: %M±%d %M:%M", in nxt_timer_add()
92 nxt_debug(timer->task, "timer previous: %M±%d", in nxt_timer_add()
107 nxt_debug(timer->task, "timer delete: %M±%d", in nxt_timer_delete()
148 nxt_debug(timer->task, "timer change: %M±%d:%d", in nxt_timer_change()
168 nxt_debug(&engine->task, "timers changes: %ui", timers->nchanges); in nxt_timer_changes_commit()
198 nxt_debug(timer->task, "timer rbtree delete: %M±%d", in nxt_timer_changes_commit()
215 nxt_debug(timer->task, "timer rbtree insert: %M±%d", in nxt_timer_changes_commit()
264 nxt_debug(timer->task, "timer found minimum: %M±%d:%M", in nxt_timer_find()
291 nxt_debug(&engine->task, "timer expire minimum: %M:%M", in nxt_timer_expire()
314 nxt_debug(timer->task, "timer expire delete: %M±%d", in nxt_timer_expire()
H A Dnxt_socket.c36 nxt_debug(task, "socket(): %d", s); in nxt_socket_create()
84 nxt_debug(task, "getsockopt(%d, %ui, %s): %d", in nxt_socket_getsockopt()
106 nxt_debug(task, "setsockopt(%d, %ui, %s): %d", in nxt_socket_setsockopt()
177 nxt_debug(task, "bind(%d, %*s)", s, (size_t) sa->length, in nxt_socket_bind()
198 nxt_debug(task, "connect(%d, %*s)", in nxt_socket_connect()
210 nxt_debug(task, "connect(%d, %*s) in progress", in nxt_socket_connect()
254 nxt_debug(task, "shutdown(%d, %ui)", s, how); in nxt_socket_shutdown()
289 nxt_debug(task, "socket close(%d)", s); in nxt_socket_close()
H A Dnxt_log.h98 #define nxt_debug(task, ...) \ macro
102 if (nxt_slow_path(_log->level == NXT_LOG_DEBUG || nxt_debug)) { \
112 if (nxt_slow_path(_log_->level == NXT_LOG_DEBUG || nxt_debug)) { \
129 #define nxt_debug(...) macro
162 NXT_EXPORT extern nxt_uint_t nxt_debug;
H A Dnxt_linux_sendfile.c98 nxt_debug(c->socket.task, "sendfile(%d, %FD, @%O, %uz)", in nxt_linux_event_conn_io_sendfile()
107 nxt_debug(c->socket.task, "sendfile(): %z", n); in nxt_linux_event_conn_io_sendfile()
129 nxt_debug(c->socket.task, "sendfile() %E", err); in nxt_linux_event_conn_io_sendfile()
152 nxt_debug(c->socket.task, "send(%d, %p, %uz, 0x%uXi): %z", in nxt_linux_send()
174 nxt_debug(c->socket.task, "send() %E", err); in nxt_linux_send()
207 nxt_debug(c->socket.task, "sendmsg(%d, %ui, 0x%uXi): %z", in nxt_linux_sendmsg()
229 nxt_debug(c->socket.task, "sendmsg() %E", err); in nxt_linux_sendmsg()
H A Dnxt_conn_read.c16 nxt_debug(c->socket.task, "conn wait fd:%d rdy:%d", in nxt_conn_wait()
48 nxt_debug(task, "conn read fd:%d rdy:%d cl:%d er:%d bl:%d", in nxt_conn_io_read()
157 nxt_debug(c->socket.task, "readv(%d, %ui): %z", c->socket.fd, niov, n); in nxt_conn_io_recvbuf()
178 nxt_debug(c->socket.task, "readv() %E", err); in nxt_conn_io_recvbuf()
183 nxt_debug(c->socket.task, "readv() %E", err); in nxt_conn_io_recvbuf()
208 nxt_debug(c->socket.task, "recv(%d, %p, %uz, 0x%ui): %z", in nxt_conn_io_recv()
234 nxt_debug(c->socket.task, "recv() %E", err); in nxt_conn_io_recv()
240 nxt_debug(c->socket.task, "recv() %E", err); in nxt_conn_io_recv()
H A Dnxt_port_rpc.c166 nxt_debug(task, "rpc: stream #%uD registered", stream); in nxt_port_rpc_register_handler_ex()
229 nxt_debug(task, "rpc: stream #%uD assigned uniq pid %PI (%p)", in nxt_port_rpc_ex_set_peer()
277 nxt_debug(task, "rpc: stream #%uD remove first pid %PI " in nxt_port_rpc_remove_from_peers()
292 nxt_debug(task, "rpc: stream #%uD remove pid %PI " in nxt_port_rpc_remove_from_peers()
333 nxt_debug(task, "rpc: stream #%uD no handler found", stream); in nxt_port_rpc_handler()
338 nxt_debug(task, "rpc: stream #%uD %shandler, type %d", stream, in nxt_port_rpc_handler()
358 nxt_debug(task, "rpc: stream #%uD free registration", stream); in nxt_port_rpc_handler()
384 nxt_debug(task, "rpc: no reg found for peer %PI", peer); in nxt_port_rpc_remove_peer()
411 nxt_debug(task, "rpc: stream #%uD trigger error", stream); in nxt_port_rpc_remove_peer()
472 nxt_debug(task, "rpc: stream #%uD no handler found", stream); in nxt_port_rpc_cancel()
[all …]
H A Dnxt_http_websocket.c43 nxt_debug(task, "websocket client frame for destroyed request"); in nxt_http_websocket_client()
48 nxt_debug(task, "http websocket client frame"); in nxt_http_websocket_client()
132 nxt_debug(task, "http websocket error handler"); in nxt_http_websocket_error_handler()
138 nxt_debug(task, " req_rpc_data is NULL"); in nxt_http_websocket_error_handler()
143 nxt_debug(task, " app_port is NULL"); in nxt_http_websocket_error_handler()
H A Dnxt_conn_close.c30 nxt_debug(c->socket.task, "conn close fd:%d, to:%d", in nxt_conn_close()
83 nxt_debug(task, "conn shutdown handler fd:%d", c->socket.fd); in nxt_conn_shutdown_handler()
104 nxt_debug(task, "conn close handler fd:%d", c->socket.fd); in nxt_conn_close_handler()
147 nxt_debug(task, "conn close timer handler fd:%d", c->socket.fd); in nxt_conn_close_timer_handler()
163 nxt_debug(task, "conn close error ignore"); in nxt_conn_close_error_ignore()
H A Dnxt_job.c109 nxt_debug(task, "%s start", job->name); in nxt_job_start()
143 nxt_debug(task, "%s thread", job->name); in nxt_job_thread_trampoline()
157 nxt_debug(task, "%s return", job->name); in nxt_job_return()
171 nxt_debug(task, "%s cancellation", job->name); in nxt_job_return()
192 nxt_debug(task, "%s cancellation", job->name); in nxt_job_thread_return_handler()
H A Dnxt_conn_proxy.c251 nxt_debug(task, "conn proxy connected fd:%d", peer->socket.fd); in nxt_conn_proxy_connected()
383 nxt_debug(task, "conn proxy sink fd:%d error:%d", in nxt_conn_proxy_read_process()
499 nxt_debug(task, "conn proxy read fd:%d", source->socket.fd); in nxt_conn_proxy_read()
711 nxt_debug(task, "conn proxy close fd:%d", source->socket.fd); in nxt_conn_proxy_close()
740 nxt_debug(task, "conn proxy error fd:%d", c->socket.fd); in nxt_conn_proxy_error()
798 nxt_debug(task, "conn proxy refused fd:%d", peer->socket.fd); in nxt_conn_proxy_refused()
829 nxt_debug(task, "conn proxy reconnect timer"); in nxt_conn_proxy_reconnect_handler()
856 nxt_debug(source->socket.task, in nxt_conn_proxy_shutdown()
860 nxt_debug(sink->socket.task, in nxt_conn_proxy_shutdown()
882 nxt_debug(source->socket.task, "free source buffer"); in nxt_conn_proxy_shutdown()
[all …]
H A Dnxt_credential.c60 nxt_debug(task, "about to get \"%s\" groups (uid:%d, base gid:%d)", in nxt_credential_get()
81 nxt_debug(task, "user \"%s\" has gids:%*s", uc->user, p - msg, msg); in nxt_credential_get()
193 nxt_debug(task, "getgroups(0, NULL): %d", nsaved); in nxt_credential_groups_get()
219 nxt_debug(task, "getgroups(): %d", nsaved); in nxt_credential_groups_get()
245 nxt_debug(task, "getgroups(0, NULL): %d", ngroups); in nxt_credential_groups_get()
285 nxt_debug(task, "user cred set: \"%s\" uid:%d", uc->user, uc->uid); in nxt_credential_setuid()
310 nxt_debug(task, "user cred set gids: base gid:%d, ngroups: %d", in nxt_credential_setgids()
H A Dnxt_select_engine.c89 nxt_debug(&engine->task, "select free"); in nxt_select_free()
134 nxt_debug(ev->task, "select enable read: fd:%d", fd); in nxt_select_enable_read()
161 nxt_debug(ev->task, "select enable write: fd:%d", fd); in nxt_select_enable_write()
202 nxt_debug(ev->task, "select disable read: fd:%d", fd); in nxt_select_disable_read()
226 nxt_debug(ev->task, "select disable write: fd:%d", fd); in nxt_select_disable_write()
313 nxt_debug(&engine->task, "select() nfds:%d timeout:%M", nfds, timeout); in nxt_select_poll()
322 nxt_debug(&engine->task, "select(): %d", nevents); in nxt_select_poll()
337 nxt_debug(ev->task, "select() fd:%ui read rd:%d wr:%d", in nxt_select_poll()
354 nxt_debug(ev->task, "select() fd:%ui write rd:%d wr:%d", in nxt_select_poll()
H A Dnxt_lib.c84 nxt_debug(&nxt_main_task, "stderr flags: 0x%04Xd", flags); in nxt_lib_start()
99 nxt_debug(&nxt_main_task, "ncpu: %d", n); in nxt_lib_start()
111 nxt_debug(&nxt_main_task, "pagesize: %ui", nxt_pagesize); in nxt_lib_start()
H A Dnxt_port_memory.c165 nxt_debug(task, "mmap buf completion: %p [%p,%uz] (sent=%d), " in nxt_port_mmap_buf_completion()
213 nxt_debug(task, "got new mmap fd #%FD from process %PI", in nxt_port_incoming_port_mmap()
392 nxt_debug(task, "memfd_create(%s): %FD", name, fd); in nxt_shm_open()
404 nxt_debug(task, "shm_open(SHM_ANON): %FD", fd); in nxt_shm_open()
419 nxt_debug(task, "shm_open(%s): %FD", name, fd); in nxt_shm_open()
552 nxt_debug(task, "request %z bytes shm buffer", size); in nxt_port_mmap_get_buf()
606 nxt_debug(task, "request increase %z bytes shm buffer", size); in nxt_port_mmap_increase_buf()
750 nxt_debug(task, "mmap_msg={%D, %D, %D} to %PI", in nxt_port_mmap_write()
779 nxt_debug(task, "mmap_msg={%D, %D, %D} from %PI", in nxt_port_mmap_read()
826 nxt_debug(task, "using mmap mode"); in nxt_port_mmap_get_method()
[all …]
H A Dnxt_h1proto.c223 nxt_debug(task, "http conn init"); in nxt_http_conn_init()
1721 nxt_debug(task, "h1p conn sent"); in nxt_h1p_conn_sent()
1740 nxt_debug(task, "h1p conn close"); in nxt_h1p_conn_close()
1755 nxt_debug(task, "h1p conn error"); in nxt_h1p_conn_error()
1789 nxt_debug(task, "h1p keepalive"); in nxt_h1p_keepalive()
1856 nxt_debug(task, "h1p idle close"); in nxt_h1p_idle_close()
2005 nxt_debug(task, "h1p shutdown"); in nxt_h1p_shutdown()
2049 nxt_debug(task, "h1p closing"); in nxt_h1p_closing()
2112 nxt_debug(task, "h1p conn free"); in nxt_h1p_conn_free()
2630 nxt_debug(task, "h1p peer read"); in nxt_h1p_peer_read()
[all …]
H A Dnxt_port.c92 nxt_debug(task, "port %p %d:%d close, type %d", port, port->pid, in nxt_port_close()
129 nxt_debug(task, "port %p %d:%d release, type %d", port, port->pid, in nxt_port_release()
179 nxt_debug(task, "port %d: message type:%uD fds:%d,%d", in nxt_port_handler()
209 nxt_debug(task, "new port %d for process %PI", in nxt_port_send_new_port()
241 nxt_debug(task, "send port %FD to process %PI", in nxt_port_send_port()
272 nxt_debug(task, "new port %d received for process %PI:%d", in nxt_port_new_port_handler()
331 nxt_debug(task, "process %PI ready", msg->port_msg.pid); in nxt_port_process_ready_handler()
382 nxt_debug(task, "change log file #%ui fd:%FD", slot, fd); in nxt_port_change_log_file()
450 nxt_debug(task, "data: %*s", dump_size, b->mem.pos); in nxt_port_data_handler()
526 nxt_debug(task, "port remove pid %PI handler", pid); in nxt_port_remove_pid()
[all …]
H A Dnxt_stream_source.c100 nxt_debug(task, "stream source connected fd:%d", c->socket.fd); in nxt_stream_source_connected()
159 nxt_debug(task, "stream source write ready fd:%d", c->socket.fd); in nxt_stream_source_write_ready()
178 nxt_debug(task, "stream source read ready fd:%d", c->socket.fd); in nxt_stream_source_read_ready()
194 nxt_debug(task, "stream source flush"); in nxt_stream_source_read_ready()
251 nxt_debug(task, "stream source read done fd:%d", c->socket.fd); in nxt_stream_source_read_done()
352 nxt_debug(thr->log, in nxt_stream_source_buf_completion()
408 nxt_debug(task, "stream source refused fd:%d", c->socket.fd); in nxt_stream_source_refused()
426 nxt_debug(task, "stream source closed fd:%d", c->socket.fd); in nxt_stream_source_closed()
455 nxt_debug(task, "stream source error fd:%d", ev->fd); in nxt_stream_source_error()
H A Dnxt_eventport_engine.c116 nxt_debug(&engine->task, "port_create(): %d", engine->u.eventport.fd); in nxt_eventport_create()
139 nxt_debug(&engine->task, "eventport %d free", port); in nxt_eventport_free()
233 nxt_debug(ev->task, "port %d set event: fd:%d ev:%04XD u:%p", in nxt_eventport_enable_event()
281 nxt_debug(ev->task, "port %d disable event : fd:%d", in nxt_eventport_disable_event()
306 nxt_debug(&engine->task, "eventport %d changes:%ui", in nxt_eventport_commit_changes()
318 nxt_debug(ev->task, "port_associate(%d): fd:%d ev:%04XD u:%p", in nxt_eventport_commit_changes()
332 nxt_debug(ev->task, "port_dissociate(%d): fd:%d", port, ev->fd); in nxt_eventport_commit_changes()
442 nxt_debug(&engine->task, "port_send(%d, %ui)", port, signo); in nxt_eventport_signal()
478 nxt_debug(&engine->task, "port_getn(%d) timeout: %M", in nxt_eventport_poll()
527 nxt_debug(&engine->task, "port_getn(%d) events: %d", in nxt_eventport_poll()
[all …]
H A Dnxt_signal_handlers.c49 nxt_debug(task, "sigterm handler signo:%d (%s)", in nxt_signal_sigterm_handler()
61 nxt_debug(task, "sigquit handler signo:%d (%s)", in nxt_signal_sigquit_handler()
H A Dnxt_h1proto_websocket.c81 nxt_debug(task, "h1p ws first frame start"); in nxt_h1p_websocket_first_frame_start()
125 nxt_debug(task, "h1p ws frame start"); in nxt_h1p_websocket_frame_start()
148 nxt_debug(task, "h1p read client ws frame"); in nxt_h1p_websocket_frame_start()
170 nxt_debug(task, "h1p conn ws keepalive"); in nxt_h1p_conn_ws_keepalive()
237 nxt_debug(task, "h1p conn ws frame header read %z", size); in nxt_h1p_conn_ws_frame_header_read()
389 nxt_debug(task, "h1p ws keepalive enable: scheduled ws shutdown"); in nxt_h1p_conn_ws_keepalive_enable()
449 nxt_debug(task, "h1p conn ws error"); in nxt_h1p_conn_ws_error()
505 nxt_debug(task, "h1p conn ws timeout"); in nxt_h1p_conn_ws_timeout()
555 nxt_debug(task, "h1p conn ws frame read"); in nxt_h1p_conn_ws_frame_payload_read()
639 nxt_debug(task, "h1p conn ws error sent"); in nxt_h1p_conn_ws_error_sent()
[all …]
H A Dnxt_kqueue_engine.c199 nxt_debug(&engine->task, "kqueue(): %d", engine->u.kqueue.fd); in nxt_kqueue_create()
226 nxt_debug(&engine->task, "kqueue %d free", fd); in nxt_kqueue_free()
472 nxt_debug(&engine->task, "kevent(%d) changes:%d", in nxt_kqueue_get_kevent()
531 nxt_debug(task, "kqueue fd error handler fd:%d", ev->fd); in nxt_kqueue_fd_error_handler()
587 nxt_debug(&engine->task, "kevent(%d) signo:%d (%s)", in nxt_kqueue_add_signal()
689 nxt_debug(&engine->task, "kevent(%d) changes:%d timeout:%M", in nxt_kqueue_poll()
721 nxt_debug(&engine->task, in nxt_kqueue_poll()
919 nxt_debug(task, "kevent fd:%d avail:%D", in nxt_kqueue_listen_handler()
957 nxt_debug(task, "accept(%d): %d", lev->socket.fd, s); in nxt_kqueue_conn_io_accept()
979 nxt_debug(task, "kqueue conn read fd:%d", c->socket.fd); in nxt_kqueue_conn_io_read()
[all …]
H A Dnxt_hpux_sendfile.c96 nxt_debug(c->socket.task, "sendfile(%d, %FD, @%O, %uz) hd:%ui tr:%ui", in nxt_hpux_event_conn_io_sendfile()
105 nxt_debug(c->socket.task, "sendfile(): %uz", n); in nxt_hpux_event_conn_io_sendfile()
127 nxt_debug(c->socket.task, "sendfile() %E", err); in nxt_hpux_event_conn_io_sendfile()

123