Re: [perfmon2] unbuffered output when sampling

2009-07-31 Thread Sergey Blagodurov
Hi Stephane, Thanks for the reply! > What you are seeing is a side effect of monitoring probably lots of > threads + aggregation. Well, I suppose not since I monitor only single threaded applications for now (SPEC 2006 suite to be specific). Anyway, I think I solved this problem, at least in c

Re: [perfmon2] unbuffered output when sampling

2009-07-13 Thread stephane eranian
Sergey, I suspect that what you are seeing has nothing to do with printf buffering. The line is flushed out on \n. What you are seeing is a side effect of monitoring probably lots of threads + aggregation. There is no output until a sampling buffer fills up. With --smpl-entries=1, they fill up q

[perfmon2] unbuffered output when sampling

2009-07-10 Thread Sergey Blagodurov
Hello, I was wondering if it's somehow possible to obtain the output from pfmon unbuffered during sampling. What I want to do is to monitor a program's miss rate in real time with pfmon using the following invocation: pfmon --attach-task --smpl-module=compact --smpl-entries=1 --long-smpl-period