MALLOC_CHECK_ is a glibc env var
–debugger on optimized code
P558 Sometimes without compiler optimization performance is unacceptable.
To prevent optimizer removing your variables, mark them volatile.
An inline function may not appear in call stack. Consider “-fno-inline”
–P569 double-free may not show issues until the next free() or malloc()
–P470 – 472 sar command
can show per-process performance data
can monitor network devices
—P515 printf + macros for debugging
buffering behavior differs between terminal ^ log files
Advertisements