From: Tirath R. <ti...@in...> - 2006-01-17 05:04:26
|
hi all, I've encountered something that seems quite weird to me... I profiled a job with psrun, and it all works fine with most counters, however this happens only with PAPI_L2_LDM (as far as I've experienced): --start psprocess -e /opt/gamess_src/gamess.02.x /usr/scr/gamess.02.x.873.xml ... File Summary ------------------------------------------------------------------------ -------- Samples Self % Total % File 305 100.00% 100.00% ?? Function Summary ------------------------------------------------------------------------ -------- Samples Self % Total % Function 305 100.00% 100.00% ?? Function:File:Line Summary ------------------------------------------------------------------------ -------- Samples Self % Total % Function:File:Line 305 100.00% 100.00% ??:??:0 --end BUT, when I pipe it through `less`, i.e.: --start psprocess -e /opt/gamess_src/gamess.02.x /usr/scr/gamess.02.x.873.xml | less ... File Summary ------------------------------------------------------------------------ -------- Samples Self % Total % File 243 79.67% 79.67% ? 62 20.33% 100.00% ?? Function Summary ------------------------------------------------------------------------ -------- Samples Self % Total % Function 78 25.57% 25.57% sotran_ 62 20.33% 45.90% ?? 41 13.44% 59.34% dirfck_ 28 9.18% 68.52% vclr_ ... Function:File:Line Summary ------------------------------------------------------------------------ -------- Samples Self % Total % Function:File:Line 78 25.57% 25.57% sotran_:?:0 62 20.33% 45.90% ??:??:0 41 13.44% 59.34% dirfck_:?:0 28 9.18% 68.52% vclr_:?:0 23 7.54% 76.07% prefin_:?:0 --end (The missing line summaries are fine because I compiled the executable without debugging symbols) I guess this isn't really a huge problem (so long as the veracity of the info is not disputed), but has anyone else experienced this weird behaviour??? The last few times I tried redirecting to a text file (i.e.: psprocess -e /opt/gamess_src/gamess.02.x /usr/scr/gamess.02.x. 873.xml > tmp.txt) it has been working fine, but it didn't work yesterday, which is how I noticed there was a problem to begin with. -tirath |