[perfmon2] pfmon on cell

2010-08-26 Thread Daniele G. Spampinato
Hi, I wanted to try pfmon 3.9 on a IBM QS22 blade. In order to compile it properly I had to add/modify the following + marked lines in pfmon/pfmon_utils_cell.c: (function pfmon_get_dlopen_hook) add:unsigned int version; change line 205: fromvbprintf("[%d] dlopen hook on %s\n", sdes

Re: [perfmon2] pfmon on cell

2010-08-26 Thread stephane eranian
Hi, Thanks for reporting the problem and giving the solution. I have updated the pfmon code in CVS now. On Thu, Aug 26, 2010 at 2:01 PM, Daniele G. Spampinato wrote: > Hi, > I wanted to try pfmon 3.9 on a IBM QS22 blade. > In order to compile it properly I had to add/modify the following + mark

Re: [perfmon2] pfmon on cell

2010-08-26 Thread Daniele G. Spampinato
No problem. Always related to using pfmon on QS22. What can be that prevents pfmon from sampling? To be precise, when I try sampling, like: > pfmon --with-header --long-smpl-periods=1 -e MFC_TLB_MISS -- ./noploop 10 I get noploop for 10 seconds # # date: Thu Aug 26 15:20:30 2010 # # hostn

[perfmon2] [PATCH] perf_events: fixing time tracking for event with pid != -1 and cpu != -1

2010-08-26 Thread Stephane Eranian
Per-thread events with a cpu filter, i.e., cpu != -1, were not reporting correct timings when the thread never ran on the monitored cpu. The time enabled was reported as a negative value. This patch fixes the problem by updating tstamp_stopped, tstamp_running in event_sched_out() for events with f

[perfmon2] help on custom sampling format in perfmon2

2010-08-26 Thread besarw
Hello all, I am working on a project that collect ibsop sample using IBS. I only need several IBS derived event to be collected but as far as I know there is no mechanism to apply that constraint just like latency threshold (DATA_EAR_LAT4) in Itanium. What I can do now is filter the sampling resul