Tweaks to "watch-process-smaps" sample program