From e5d385c6e3c33b2ac38993226c417f58eabfe659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?agentzh=20=28=E7=AB=A0=E4=BA=A6=E6=98=A5=29?= Date: Fri, 1 Jun 2012 21:19:58 +0800 Subject: [PATCH] updated valgrind.suppress for the "hup reload" + valgrind/memcheck testing mode. --- valgrind.suppress | 50 +++++++++++++++++++++++++++++++++++------------ 1 file changed, 37 insertions(+), 13 deletions(-) diff --git a/valgrind.suppress b/valgrind.suppress index 762f9f4c..88fd8a9f 100644 --- a/valgrind.suppress +++ b/valgrind.suppress @@ -1,3 +1,40 @@ +{ + +Memcheck:Addr4 +fun:ngx_init_cycle +fun:ngx_master_process_cycle +fun:main +} +{ + +Memcheck:Param +socketcall.sendmsg(msg.msg_iov[i]) +fun:__sendmsg_nocancel +fun:ngx_write_channel +fun:ngx_signal_worker_processes +fun:ngx_master_process_cycle +fun:main +} +{ + +Memcheck:Param +socketcall.sendmsg(msg.msg_iov[i]) +fun:__sendmsg_nocancel +fun:ngx_write_channel +fun:ngx_master_process_cycle +fun:main +} +{ + +Memcheck:Param +socketcall.sendmsg(msg.msg_iov[i]) +fun:__sendmsg_nocancel +fun:ngx_write_channel +fun:ngx_pass_open_channel +fun:ngx_start_worker_processes +fun:ngx_master_process_cycle +fun:main +} { Memcheck:Param @@ -10,8 +47,6 @@ fun:malloc fun:ngx_alloc fun:ngx_event_process_init - fun:ngx_single_process_cycle - fun:(below main) } { @@ -27,7 +62,6 @@ fun:ngx_alloc fun:ngx_calloc fun:ngx_event_process_init - fun:ngx_single_process_cycle } { @@ -171,8 +205,6 @@ fun:malloc fun:ngx_alloc fun:ngx_event_process_init - fun:ngx_single_process_cycle - fun:main } { nginx-core-crc32-init @@ -193,8 +225,6 @@ fun:ngx_http_init_request fun:ngx_epoll_process_events fun:ngx_process_events_and_timers - fun:ngx_single_process_cycle - fun:main } { palloc_large_for_create_temp_buf @@ -207,8 +237,6 @@ fun:ngx_http_init_request fun:ngx_epoll_process_events fun:ngx_process_events_and_timers - fun:ngx_single_process_cycle - fun:main } { accept_create_pool @@ -220,8 +248,6 @@ fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers - fun:ngx_single_process_cycle - fun:main } { create_pool_for_init_req @@ -233,8 +259,6 @@ fun:ngx_http_init_request fun:ngx_epoll_process_events fun:ngx_process_events_and_timers - fun:ngx_single_process_cycle - fun:main } { create_pool_posix_memalign