mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Add script to run htop under valgrind
Includes suppressions for ncurses leaks.
This commit is contained in:
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:*
|
||||
}
|
Reference in New Issue
Block a user