From 04a16f21e495b2fc8fc868f38c58e4477a5dcc7f Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Wed, 14 Jun 2023 16:13:57 +0200 Subject: [PATCH] valgrind: Update suppression file to align with updated POSIX arch Things have moved around so we need to update the suppression file so the callstack and types of leaks valgrind reports still match. Signed-off-by: Alberto Escolar Piedras --- scripts/valgrind.supp | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/scripts/valgrind.supp b/scripts/valgrind.supp index 9719dce16f..b161e09fa0 100644 --- a/scripts/valgrind.supp +++ b/scripts/valgrind.supp @@ -10,19 +10,27 @@ { POSIX arch no thread cleanup Memcheck:Leak - match-leak-kinds: possible + match-leak-kinds: reachable,possible ... - fun:pthread_create* fun:posix_new_thread + fun:arch_new_thread +} +{ + POSIX soc no cpu cleanup + Memcheck:Leak + match-leak-kinds: reachable + ... + fun:posix_boot_cpu + ... + fun:main } { POSIX arch no cpu cleanup Memcheck:Leak - match-leak-kinds: possible + match-leak-kinds: reachable ... - fun:pthread_create* - fun:posix_boot_cpu - fun:main + fun:nct_init + fun:posix_arch_init } { lvgl no cleanup