From: Harry M. <hj...@ta...> - 2005-04-27 21:06:56
|
Hi All, I'm using callgrind to examine an app that does a lot of numerical work and also does a considerable amount of I/O. After battling with the -gstabs format for a while (an external lib used it), I've gotten it to run with the app with the required set of options and flags, but after several minutes of work, it exits with what looks like a normal set of messages, but the output file (callgrind.out.pid) is of zero length. If run with the same app with no arguments (which simply dumps the help file), it leaves an output file of non-zero size that can be read into kcachegrind and looks correct. the exit messages: --20478-- Start dumping at BB 840458335 (Prg.Term.)... --20478-- Dump to /home/hjm/zender/nco/callgrind.out.20478 --20478-- Dumping done. --20478-- --20478-- Distinct objects: 15 --20478-- Distinct files: 52 --20478-- Distinct fns: 2756 --20478-- Distinct contexts:2756 --20478-- Distinct BBs: 6169 --20478-- Cost entries: 3259 (Chunks 1) --20478-- Distinct BBCCs: 6402 --20478-- Distinct JCCs: 1599 --20478-- Distinct skips: 447 --20478-- BB lookups: 6169 --20478-- With full debug info: 39% (2466) --20478-- With file/line debug info: 0% (19) --20478-- With fn name debug info: 21% (1328) --20478-- With no debug info: 38% (2356) --20478-- BBCC Clones: 233 --20478-- BBs Retranslated: 0 --20478-- Distinct instrs: 32304 --20478-- --20478-- LRU Contxt Misses: 2756 --20478-- LRU BBCC Misses: 206 --20478-- LRU JCC Misses: 1599 --20478-- BBs Executed: 840458335 --20478-- Calls: 28038218 --20478-- CondJMP followed: 0 --20478-- Boring JMPs: 0 --20478-- Recursive calls: 10 --20478-- Returns: 28038218 --20478-- ==20478== Events : Ir ==20478== Collected : 5126502049 ==20478== ==20478== I refs: 5,126,502,049 --20478-- TT/TC: 0 tc sectors discarded. --20478-- 6279 tt_fast misses. --20478-- translate: new 6169 (106601 -> 670119; ratio 62:10) --20478-- discard 0 (0 -> 0; ratio 0:10). --20478-- chainings: 4335 chainings, 0 unchainings. --20478-- dispatch: 840475144 jumps (bb entries); of them 56068560 (6%) unchained. --20478-- 16810/25074 major/minor sched events. --20478-- reg-alloc: 76 t-req-spill, 160994+228 orig+spill uis, --20478-- 22247 total-reg-rank --20478-- sanity: 16811 cheap, 673 expensive checks. --20478-- ccalls: 6229 C calls, 100% saves+restores avoided (37344 bytes) --20478-- 6289 args, avg 0.1 setup instrs each (12338 bytes) --20478-- 0% clear the stack (18507 bytes) --20478-- 60 retvals, 19% of reg-reg movs avoided (22 bytes) Why the silent treatment? hjm |