Skip to content

Commit ca00d1a

Browse files
tomerdbzgalnoam
authored andcommitted
issue: 4642229 Valgrind leak suppression
Add suppression for sockperf-specific memory issues that appear during testing but are not related to XLIO library code. Simplify rdma_create_event_channel suppression to be more generic and portable across different librdmacm versions by using wildcards instead of hardcoded library paths. Signed-off-by: Tomer Cabouly <[email protected]>
1 parent 6791e12 commit ca00d1a

File tree

1 file changed

+28
-10
lines changed

1 file changed

+28
-10
lines changed

contrib/valgrind/valgrind_xlio.supp

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -90,21 +90,23 @@
9090
fun:_ZN15neigh_table_mgrC1Ev
9191
}
9292
{
93-
rdma_create_event_channel_fp_leak
93+
rdma_create_event_channel
94+
Memcheck:Leak
95+
obj:/*librdmacm.so*
96+
...
97+
fun:rdma_create_event_channel
98+
fun:create_rdma_channel
99+
fun:_ZN15neigh_table_mgrC1Ev
100+
}
101+
{
102+
rdma_create_event_channel
94103
Memcheck:Leak
95104
match-leak-kinds: possible
96105
fun:calloc
97-
obj:/usr/lib/x86_64-linux-gnu/librdmacm.so.1.3.56.0
98-
obj:/usr/lib/x86_64-linux-gnu/librdmacm.so.1.3.56.0
99-
obj:/usr/lib/x86_64-linux-gnu/librdmacm.so.1.3.56.0
106+
obj:/*librdmacm.so*
107+
...
100108
fun:rdma_create_event_channel
101-
fun:_ZN15neigh_table_mgr19create_rdma_channelEv
102109
fun:UnknownInlinedFun
103-
fun:_ZL22do_global_ctors_helperv.lto_priv.0
104-
fun:_Z15do_global_ctorsv
105-
fun:_Z15socket_internaliiibb
106-
fun:_Z7bringupPKi
107-
fun:main
108110
}
109111
###########################################################
110112
# false positive libmlx5\4
@@ -197,3 +199,19 @@
197199
fun:_ZN5agent8progressEv
198200
...
199201
}
202+
###########################################################
203+
# sockperf
204+
{
205+
sockperf_leak
206+
Memcheck:Free
207+
fun:free
208+
fun:_Z9close_ifdiiP8fds_data
209+
fun:server_receive_then_send_impl<RecvFromInputHandler>
210+
fun:server_receive_then_send<>
211+
fun:_ZN6ServerI10IoRecvfrom9SwitchOffE6doLoopEv
212+
fun:doHandler
213+
fun:server_handler<IoRecvfrom, SwitchOff>
214+
fun:_Z14server_handlerI10IoRecvfromEviii
215+
fun:_Z7do_testv
216+
fun:main
217+
}

0 commit comments

Comments
 (0)