update callgrind script and add some doc.