mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-24 15:15:44 +00:00
commit
6191336498
63
scripts/htop_suppressions.valgrind
Normal file
63
scripts/htop_suppressions.valgrind
Normal file
@ -0,0 +1,63 @@
|
||||
{
|
||||
<ncurses internal memory allocated at startup>
|
||||
Memcheck:Leak
|
||||
match-leak-kinds: reachable
|
||||
...
|
||||
fun:CRT_init
|
||||
fun:main
|
||||
}
|
||||
|
||||
{
|
||||
<ncurses internal memory allocated at startup>
|
||||
Memcheck:Leak
|
||||
match-leak-kinds: reachable
|
||||
...
|
||||
fun:CRT_init
|
||||
}
|
||||
|
||||
{
|
||||
<ncurses internal memory>
|
||||
Memcheck:Leak
|
||||
match-leak-kinds: reachable
|
||||
...
|
||||
fun:wgetch
|
||||
fun:ScreenManager_run
|
||||
fun:Action_runSetup
|
||||
fun:actionSetup
|
||||
fun:MainPanel_eventHandler
|
||||
fun:ScreenManager_run
|
||||
fun:main
|
||||
}
|
||||
|
||||
{
|
||||
<ncurses internal memory>
|
||||
Memcheck:Leak
|
||||
match-leak-kinds: reachable
|
||||
...
|
||||
fun:wgetch
|
||||
fun:ScreenManager_run
|
||||
fun:main
|
||||
}
|
||||
|
||||
{
|
||||
<ncurses internal memory>
|
||||
Memcheck:Leak
|
||||
match-leak-kinds: reachable
|
||||
...
|
||||
fun:wrefresh
|
||||
fun:main
|
||||
}
|
||||
|
||||
{
|
||||
<ncurses internal memory>
|
||||
Memcheck:Leak
|
||||
match-leak-kinds: reachable
|
||||
fun:realloc
|
||||
fun:_nc_doalloc
|
||||
fun:_nc_tparm_analyze
|
||||
fun:tparm
|
||||
...
|
||||
fun:doupdate_sp
|
||||
fun:wrefresh
|
||||
obj:*
|
||||
}
|
6
scripts/run_valgrind.sh
Executable file
6
scripts/run_valgrind.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
SCRIPT=$(readlink -f "$0")
|
||||
SCRIPTDIR=$(dirname "$SCRIPT")
|
||||
|
||||
valgrind --leak-check=full --show-reachable=yes --show-leak-kinds=all --errors-for-leak-kinds=all --suppressions="${SCRIPTDIR}/htop_suppressions.valgrind" "${SCRIPTDIR}/../htop"
|
Loading…
Reference in New Issue
Block a user