diff options
author | Ximalas <trond.endrestol@ximalas.info> | 2021-10-12 10:44:24 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2021-10-14 23:25:19 +0200 |
commit | 4cf74de1f1a73e1079808fe06a6730db27e82a9f (patch) | |
tree | e11b92c724383db0f02f430a475d9bc9fbe662fc | |
parent | 0a5890d33225b42c31b66d1890aa6a8e5c85681b (diff) |
Suppress reporting memory leaks originating from libdevstat
Based on https://cgit.freebsd.org/src/tree/lib/libdevstat/devstat.c
the following four functions call memory allocation functions:
- devstat_getdevs()
- devstat_selectdevs()
- devstat_buildmatch()
- get_devstat_kvm()
-rw-r--r-- | scripts/htop_suppressions.valgrind | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/htop_suppressions.valgrind b/scripts/htop_suppressions.valgrind index 3e5c9f1c..0ba4539b 100644 --- a/scripts/htop_suppressions.valgrind +++ b/scripts/htop_suppressions.valgrind @@ -45,3 +45,13 @@ fun:CRT_setColors fun:CRT_init } + +{ + <devstat internal memory> + Memcheck:Leak + match-leak-kinds: possible,reachable + ... + obj:*/libdevstat* + ... + fun:Platform_getDiskIO +} |